mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
Android clears all AlarmManager alarms (and may cancel WorkManager jobs) whenever the app's APK is replaced — i.e. on every Play Store auto-update or manual reinstall. BootReceiver already knows how to re-register everything from ReminderAlarmStore and re-enqueue SyncReminderWorker, but its intent-filter only listened for BOOT_COMPLETED, so after an update reminders stayed silently unregistered until the user next opened the app. Add MY_PACKAGE_REPLACED to the manifest and broaden the receiver's action guard so alarm restoration runs on both events. No new permissions or helpers required — MY_PACKAGE_REPLACED is a protected broadcast delivered only by the system to the owning app. Refs #6832 Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| app_config.properties | ||
| build.gradle | ||
| capacitor.build.gradle | ||
| config.gradle | ||
| google.properties | ||
| proguard-rules.pro | ||