locked
toast notification is not working

    Question

  •  

      I followed Contoso cookbook example to incorporate toast notification in my app. As explained in this example, I added a appbar button in JavaScript code. And then copied everything for the click event for this appbar command.

      I've also changed Package.appxmanifest and made the app Toast Capable in App UI tab. However, whenever I run my app from its tile on start screen and click that "remainder" button, the app just disappears.

      If I make notification Off in permission of settings, the reamainder button shows the message ("Notification is currently off").

      In simulator this notification is always off, even if it's on in start page tile of the app.

    What am I missing? or what is the problem?

    Thursday, May 30, 2013 6:28 AM

Answers

  •   This worked out too. I had a typo in data method : getTime(). But at first Visual studio did not complain at all, but closed out the project in mystery. But I closed all apps and restarted my laptop, and this time visual studio project showed the typo mistake right away. So now everything is working fine......
    • Marked as answer by SonalMac Thursday, May 30, 2013 9:49 PM
    Thursday, May 30, 2013 9:49 PM