Notifications API should be hanged, no kidding, :)

Notifications API should be hanged, no kidding, :)

BY 11 Nov 2013 Web Application Development

I’m so frustrated with the icon issue with the SIMPLE NOTIFICATION – turns out it’s not  simple at all. Specifically I have two issues with it

#1, The icon will not show up except if I use this path

       /opt/apps/9kAyFAxrfU.backup/icons/9kAyFAxrfU.Notifications.png

      Don’t know what is so special about this path. I tried to substitute the app id with my own like below

      /opt/apps/bx2nReIOKH.backup/icons/bx2nReIOKH.Destiny.png

      I tried to use my own app icon – icon.png, won’t work. Then I tried to use a custom 24×24 icon destiny.png, still no luck. 

 

#2, How do I open my app after user click my application? I mean, not relaunching, but switch to my app instead. If I pass my app’s app id, then it will relaunch which is not desired.

Thanks for the great answer in advance. 

Written by