Closed zmouhoubi closed 8 years ago
Thanks @zmouhoubi, I will check this over the weekend.
Hi Fernando, have you takes few time to see if there à solution?
Thank you,
Zahir.
@zmouhoubi I have seen the problem but could not fix it yet. Can you try the previous version of the library?
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.
So it seems, 1.3.1 is not serializing the lists of elements correctly.
With 1.3.1:
So for now, you should use older version until I find the way to fix it.
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
@fernandospr thanks for this lib! I've fixed the serialization here https://github.com/fernandospr/java-wns/pull/14
@Sergio-Mira Thanks!
1.3.2 will have this fix.
@fernandospr Do you know when v1.3.2 will be released?
1.4.0 is being released right now to Maven Central! Just wait for a few hours.
Released.
Thanks a lot!
Hi 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". 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"...).
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 oneDo you know how can i remove the tags that ares in plus ?
Thank you in advance for your help. Zahir.