Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: change SCHEDULE_EXACT_ALARM permission #611

Open
MathJud opened this issue Feb 16, 2024 · 0 comments
Open

Android: change SCHEDULE_EXACT_ALARM permission #611

MathJud opened this issue Feb 16, 2024 · 0 comments
Assignees
Labels

Comments

@MathJud
Copy link
Member

MathJud commented Feb 16, 2024

Android 14 no longer grants the SCHEDULE_EXACT_ALARM permissions.
This should be therefore handled differently.

Further information:
https://developer.android.com/develop/background-work/services/alarms/schedule#using-schedule-exact-permission

Playstore notification:

Your use of exact alarms is causing your app to crash for some Android users

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants