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
After upgrading to version 4.2.0, we are no longer able to use the SCHEDULE_EXACT_ALARM permission as intended. Specifically:
When the user is directed to the settings to enable "Alarms & Reminders," the toggle for this permission is disabled and cannot be activated.
This behavior did not occur in version 4.1.10, where the permission worked as expected.
Use Case
Our app requires exact alarms but does not fall under the definition of a dedicated alarm app. As a result, we cannot declare the USE_EXACT_ALARM permission in our AndroidManifest.xml. Instead, we rely on the SCHEDULE_EXACT_ALARM permission, which aligns with our use case and allows users to grant this capability explicitly via system settings.
Your Environment
Plugin version: 4.2.0 to 4.2.6
Platform: Android
OS version: 14
Device manufacturer / model: Samsung
React Native version (react-native -v): 0.75
Plugin config
Expected Behavior
The user should be able to enable the "Alarms & Reminders" toggle in the system settings when the app requests the SCHEDULE_EXACT_ALARM permission,
Actual Behavior
The "Alarms & Reminders" toggle in the system settings is disabled and cannot be toggled on after updating to versions 4.2.0 to 4.2.6.
Steps to Reproduce
Declare <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> in AndroidManifest.xml
Request the permission from the user, which opens the system settings page with the toggle disabled (See screenshot).
Context
We have a medical app that includes a feature for creating medication reminder notifications. These notifications need to be displayed at the exact expected timing. However, as we are not solely an alarms app, we cannot declare the USE_EXACT_ALARMS permission.
Debug logs
N/A
The text was updated successfully, but these errors were encountered:
Problem Description
After upgrading to version 4.2.0, we are no longer able to use the SCHEDULE_EXACT_ALARM permission as intended. Specifically:
Use Case
Our app requires exact alarms but does not fall under the definition of a dedicated alarm app. As a result, we cannot declare the
USE_EXACT_ALARM
permission in our AndroidManifest.xml. Instead, we rely on theSCHEDULE_EXACT_ALARM
permission, which aligns with our use case and allows users to grant this capability explicitly via system settings.Your Environment
react-native -v
): 0.75Expected Behavior
The user should be able to enable the "Alarms & Reminders" toggle in the system settings when the app requests the
SCHEDULE_EXACT_ALARM
permission,Actual Behavior
The "Alarms & Reminders" toggle in the system settings is disabled and cannot be toggled on after updating to versions 4.2.0 to 4.2.6.
Steps to Reproduce
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
in AndroidManifest.xmlContext
We have a medical app that includes a feature for creating medication reminder notifications. These notifications need to be displayed at the exact expected timing. However, as we are not solely an alarms app, we cannot declare the USE_EXACT_ALARMS permission.
Debug logs
N/A
The text was updated successfully, but these errors were encountered: