GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MalFormed Toast Templates · Issue #12 · fernandospr/java-wns

MalFormed Toast Templates #12

New issue
Copy link
New issue
Copy link
Closed
Closed
MalFormed Toast Templates#12
Copy link

Description

@zmouhoubi
zmouhoubi
opened on Feb 29, 2016
Issue body actions

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".
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.

Activity

  1. fernandospr commented on Mar 2, 2016

    @fernandospr
    fernandospr
    on Mar 2, 2016
    Owner
    More actions

    Thanks @zmouhoubi, I will check this over the weekend.

  2. zmouhoubi commented on Mar 8, 2016

    @zmouhoubi
    zmouhoubi
    on Mar 8, 2016
    Author
    More actions

    Hi Fernando, have you takes few time to see if there à solution?

    Thank you,

    Zahir.

  3. fernandospr commented on Mar 9, 2016

    @fernandospr
    fernandospr
    on Mar 9, 2016
    Owner
    More actions

    @zmouhoubi I have seen the problem but could not fix it yet. Can you try the previous version of the library?

  4. zmouhoubi commented on Mar 10, 2016

    @zmouhoubi
    zmouhoubi
    on Mar 10, 2016
    Author
    More actions

    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.

  5. fernandospr commented on Mar 12, 2016

    @fernandospr
    fernandospr
    on Mar 12, 2016
    Owner
    More actions

    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.

  6. damiantone commented on Apr 5, 2016

    @damiantone
    damiantone
    on Apr 5, 2016
    More actions

    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

  7. Sergio-Mira commented on Apr 13, 2016

    @Sergio-Mira
    Sergio-Mira
    on Apr 13, 2016
    Contributor
    More actions

    @fernandospr thanks for this lib! I've fixed the serialization here #14

  8. fernandospr commented on May 2, 2016

    @fernandospr
    fernandospr
    on May 2, 2016
    Owner
    More actions

    @Sergio-Mira Thanks!

  9. fernandospr
    closed this as completedon May 3, 2016
  10. fernandospr commented on May 3, 2016

    @fernandospr
    fernandospr
    on May 3, 2016
    Owner
    More actions

    1.3.2 will have this fix.

  11. twiedow commented on Jun 11, 2016

    @twiedow
    twiedow
    on Jun 11, 2016
    More actions

    @fernandospr Do you know when v1.3.2 will be released?

  12. fernandospr commented on Jun 12, 2016

    @fernandospr
    fernandospr
    on Jun 12, 2016
    Owner
    More actions

    1.4.0 is being released right now to Maven Central! Just wait for a few hours.

  13. fernandospr commented on Jun 12, 2016

    @fernandospr
    fernandospr
    on Jun 12, 2016
    Owner
    More actions

    Released.

  14. twiedow commented on Jun 13, 2016

    @twiedow
    twiedow
    on Jun 13, 2016
    More actions

    Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.