Cleidson
Member
Hello everybody,
I recently submitted an app for analysis on the Google Play Console and one of the tests returned that “the use of exact alarms is causing the app to crash for some Android users
The app schedules exact alarms without checking whether the SCHEDULE_EXACT_ALARM permission has been granted. This is causing the app to crash for Android 14 users because the permission is no longer granted by default.
In most cases, alternative work scheduling methods or inaccurate alarms are more suitable. If the use of exact alarms is warranted, update the app to verify that permission was granted before programming.”
I exactly followed the instructions contained in this post by Erel, and by reading the code, permission to use the watch is requested.
https://www.b4x.com/android/forum/threads/start-receiver-at-exact-time.148185/#content
So I don't understand if it's an error or a mere message and what should be done.
I would like to thank everyone who can guide me on this subject.
I recently submitted an app for analysis on the Google Play Console and one of the tests returned that “the use of exact alarms is causing the app to crash for some Android users
The app schedules exact alarms without checking whether the SCHEDULE_EXACT_ALARM permission has been granted. This is causing the app to crash for Android 14 users because the permission is no longer granted by default.
In most cases, alternative work scheduling methods or inaccurate alarms are more suitable. If the use of exact alarms is warranted, update the app to verify that permission was granted before programming.”
I exactly followed the instructions contained in this post by Erel, and by reading the code, permission to use the watch is requested.
https://www.b4x.com/android/forum/threads/start-receiver-at-exact-time.148185/#content
So I don't understand if it's an error or a mere message and what should be done.
I would like to thank everyone who can guide me on this subject.