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
Hello there, i'm facing an issue with a device running on Android 14 OS, the device is Galaxy A23 5g.
I followed the configuration steps and everything seem to be ok, i set permission to use SCHEDULE_EXACT_ALARM and request permission for OS 14 as described in the guide but when i run my application it opens the alarms permission screen but the authorization switch is locked and i'm not able to enable it, so the plugin initialization fails with:
Unhandled Exception: PlatformException(exact_alarms_not_permitted, Exact alarms are not permitted, null, nul
Of course adding USE_EXACT_ALARMS permission everything works just fine but as you know this permission is subject to vendor revision.
Any help really appreciated!
The text was updated successfully, but these errors were encountered:
please first of all make sure you're on the latest version.
if you're not building an alarm app, setting zonedSchedule method's androidScheduleMode parameter to AndroidScheduleMode.inexact or AndroidScheduleMode.inexactAllowWhileIdle will fix this for you.
final myinst =FlutterLocalNotificationsPlugin();
myinst.zonedSchedule(
...,
...,
...,
....,
...,
androidScheduleMode:AndroidScheduleMode.inexactAllowWhileIdle, // or AndroidScheduleMode.inexact
);
Hello, thank You for the answer! Yes i'm using latest version of the plugin but unfortunately setting to mode inexact doesn't solve the issue, the switch button in system alarms and reminders screen is still locked.
Hello there, i'm facing an issue with a device running on Android 14 OS, the device is Galaxy A23 5g.
I followed the configuration steps and everything seem to be ok, i set permission to use SCHEDULE_EXACT_ALARM and request permission for OS 14 as described in the guide but when i run my application it opens the alarms permission screen but the authorization switch is locked and i'm not able to enable it, so the plugin initialization fails with:
Unhandled Exception: PlatformException(exact_alarms_not_permitted, Exact alarms are not permitted, null, nul
Of course adding USE_EXACT_ALARMS permission everything works just fine but as you know this permission is subject to vendor revision.
Any help really appreciated!
The text was updated successfully, but these errors were encountered: