waseefakhtar / dose-android

💊⏰ Dose is a medication reminder app for Android, built entirely using Kotlin and Jetpack Compose with MVVM + Clean Architecture
https://play.google.com/store/apps/details?id=com.waseefakhtar.doseapp
MIT License
509 stars 80 forks source link

Google Play: Your use of exact alarms is causing your app to crash for some Android users #116

Closed waseefakhtar closed 8 months ago

waseefakhtar commented 9 months ago

Message from Google Play:

Your app schedules exact alarms without checking whether the SCHEDULE_EXACT_ALARM permission has been granted. This is causing your app to crash for users on Android 14 because the permission is no longer granted by default.

In most cases, alternative methods of scheduling work or inexact alarms are more appropriate. If your use of exact alarms is justified, update your app so that it checks this permission is granted before scheduling.

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