You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I submitted my app to the Play Store, and it was rejected due to crashing. The cause:
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.
I checked the official docs. They say check canScheduleExactAlarms() first. However the code seems to indeed do so.
I submitted my app to the Play Store, and it was rejected due to crashing. The cause:
I checked the official docs. They say check
canScheduleExactAlarms()
first. However the code seems to indeed do so.capacitor-background-runner/packages/capacitor-plugin/android/src/main/java/io/ionic/backgroundrunner/plugin/api/Notifications.kt
Lines 192 to 194 in c290f3c
I have added
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
to
AndroidManifest.xml
, as specified in the docs.The text was updated successfully, but these errors were encountered: