codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
https://www.codenameone.com/
Other
1.71k stars 408 forks source link

Local Notifications, Background Fetch and Location Listeners after reboot #1855

Open shannah opened 8 years ago

shannah commented 8 years ago

Haven't tested this myself, but I have heard reports that local notifications, background fetch, and background location listeners are not retained after reboot on Android. Requires further investigation to see if:

a. Indeed this is true b. Whether we can feasibly support this (I'm not sure if it works on iOS either) c. Whether the desired default behaviour is to retain them on reboot, or drop them on reboot. And if not, whether we should provide flag to enable it.

rochanas commented 3 years ago

Hey Steve,

It appears like this bug is 4 years old, but I have been trying to set up a local notification for a daily reminder and ran into this problem on Android.

Testing on my Galaxy S10 it didn't retain my notification after a reboot. On an iPhone 6, the notification was retained. From my use case perspective I would highly prefer if the notification was retained.

I saw another bug come up about local notifications so I was hoping that maybe this one could be reviewed as well? Thanks for all that you and your team do!

Rochana