I've created an App reminding people to take madications on time. Every time, after I place a new APK on the Google Play, I get many complaints the alarm doesn't work anymore. It begins working again only after the user starts the App (or reboots). Help!
Check out the ACTION_MY_PACKAGE_REPLACED intent action (on honeycomb and up).
You should be able to register a broadcast receiver for it in the manifest that can then reschedule your alarms.
Scheduled alarms will NOT be cancelled on upgrades. I verified this for Android versions 2.2 and 4.3 and the latest Google Play at the time of writing.
What you have to make sure is that your new versions can handle all pending intents of any older version. That means:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With