GeezerVison is showing github.com — MalFormed Toast Templates · Issue #12 · fernandospr/java-wns
MalFormed Toast Templates #12DescriptionHi Fernando,
First i apologize for my average english.
Thank you for the java-wns api, it's a great job and help me to send notifications.
I would like submit a bug about the received notification, it's dosn't display the icon app and the text was always "New notification".
when a use java-wns, the used Toast template 01 is like this : (<toast><type>wns/toast</type><visual><binding template="ToastText01"><text><text id="1">Sample Text</text></text></binding></visual><audio/></toast>) but in the toast template catalog the good one is (<toast><visual><binding template="ToastText01"><text id="1">Sample Text</text></binding></visual></toast>) (whith only one tags not 2 like in the first one).
When i test the java-wns toast template text 01 on the Web App i understand that the problem comes from the tags,(the one just before <text id="1"...).
Do you know how can i remove the tags that ares in plus ?
Thank you in advance for your help.
Zahir. Activityfernandospr commented on Mar 2, 2016 Thanks @zmouhoubi, I will check this over the weekend. zmouhoubi commented on Mar 8, 2016 Hi Fernando, have you takes few time to see if there à solution?
Thank you,
Zahir. fernandospr commented on Mar 9, 2016 @zmouhoubi I have seen the problem but could not fix it yet. Can you try the previous version of the library? zmouhoubi commented on Mar 10, 2016 Hi Fernando,
Thank you for your response.
I try the version 1.3 and it works so good, thank you very much.
Have a nice day,
Zahir. fernandospr commented on Mar 12, 2016 So it seems, 1.3.1 is not serializing the lists of elements correctly.
With 1.3.1: Hello world
With older versions: Hello world
So for now, you should use older version until I find the way to fix it. damiantone commented on Apr 5, 2016 Hi all,
for remove the tag type you can add an annotation in class WnsToast in getType(). For example:
@OverRide
@XmlTransient
public String getType() {
return WnsNotificationType.TOAST;
}
Regards,
damiantone Sergio-Mira commented on Apr 13, 2016 fernandospr commented on May 2, 2016 fernandospr commented on May 3, 2016 1.3.2 will have this fix. twiedow commented on Jun 11, 2016 fernandospr commented on Jun 12, 2016 1.4.0 is being released right now to Maven Central! Just wait for a few hours. fernandospr commented on Jun 12, 2016 twiedow commented on Jun 13, 2016
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|