SeriesGuide icon indicating copy to clipboard operation
SeriesGuide copied to clipboard

Check for SCHEDULE_EXACT_ALARM permission, somehow gracefully fall back

Open UweTrottmann opened this issue 2 years ago • 0 comments

App is crashing trying to schedule notification alarms due to users turning off the Alarms & Reminders permission.

https://developer.android.com/training/scheduling/alarms#exact-permission-check

Potential solution:

  • display warning in settings if exact alarm permission has been revoked.
  • implement broadcast receiver to re-schedule alarms as indicated in above docs (though NotificationService runs frequently when using the app, so maybe not).

UweTrottmann avatar Mar 09 '22 14:03 UweTrottmann