Dev-hwang / flutter_foreground_task

This plugin is used to implement a foreground service on the Android platform.
https://pub.dev/packages/flutter_foreground_task
MIT License
152 stars 111 forks source link

Unable to toggle `allow permission` for foreground service #266

Closed reduxdj closed 2 months ago

reduxdj commented 3 months ago

The settings menu is shown, however I am unable to turn on the "Alarms and Reminders" feature.

Dev-hwang commented 2 months ago

Did you add "android.permission.SCHEDULE_EXACT_ALARM" permission?

<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />

If the problem still occurs, please tell me the device model and OS version.

If the user manually disables the permission, your app will no longer be able to request the permission. settings location: Settings > Apps > Menu > Special Access > Alarms and Reminders