Android Local notification

We are using the local notification system implemented by Corona.

As I understand, on Android it is using AlarmManager.

On Android, notifications should be handled by a service running in the background.

We wanted to know if local notifications are being handled by a Corona service?

If our application is closed, would local notification still fire? (default behaviour on iOS).

The answers you seek can be found here…

   http://docs.coronalabs.com/daily/api/library/system/scheduleNotification.html#gotchas

Thank you for the reply, I somehow managed to miss the gotchas section while reading the docs.

We also have a sample project “Notifications/LocalNotifications” that is included with the Corona Simulator that you can play with.  Feel free to test it out.  We worked hard in making it work as close as possible to iOS notification behavior.

Note that its “build.settings” file has the “RECEIVE_BOOT_COMPLETED” Android permission set.  I recommend that you do the same because that allows Corona’s background service to reschedule all pending notifications using Android’s AlarmManager and redisplay all triggered notifications in the status bar.

ignore the comment, everything working fine.

The answers you seek can be found here…

   http://docs.coronalabs.com/daily/api/library/system/scheduleNotification.html#gotchas

Thank you for the reply, I somehow managed to miss the gotchas section while reading the docs.

We also have a sample project “Notifications/LocalNotifications” that is included with the Corona Simulator that you can play with.  Feel free to test it out.  We worked hard in making it work as close as possible to iOS notification behavior.

Note that its “build.settings” file has the “RECEIVE_BOOT_COMPLETED” Android permission set.  I recommend that you do the same because that allows Corona’s background service to reschedule all pending notifications using Android’s AlarmManager and redisplay all triggered notifications in the status bar.

ignore the comment, everything working fine.