Wizcorp / phonegap-plugin-localNotifications

PhoneGap plugin for providing native local notification system to JavaScript.
MIT License
38 stars 29 forks source link

[Android] Return notification body with notification id #10

Closed aogilvie closed 10 years ago

aogilvie commented 10 years ago

Return notification body with notification id to match iOS spec.

StasKalishenko commented 10 years ago

It really doesn't work on Android. Guys, how to get notification (or any option of it) in app on Android? Is it possible? It works only on iOS. I figured out how to open an app tapping on local notification but "receivedLocalNotification" event is not firing.

aogilvie commented 10 years ago

Fixed: https://github.com/Wizcorp/phonegap-plugin-localNotifications/commit/c6a68cbc5025b34a213a787a5ed96e09d5448cf1 For more information try the Android sample application.

StasKalishenko commented 10 years ago

Great! But what about opening closed app? Moreover, more useful to get alarm in app when user exactly taps on notification but not when notification only appears. Is it possible?