MaikuB / flutter_local_notifications

A Flutter plugin for displaying local notifications on Android, iOS, macOS and Linux
2.41k stars 1.36k forks source link

Remove Exact alarm permissions permission By Play store policy #2337

Open shresthaashok opened 1 month ago

shresthaashok commented 1 month ago
shweta-alike commented 3 weeks ago

@shresthaashok Did you find anything?

MaikuB commented 3 weeks ago

You've not mentioned which permission specifically but sounds like you're referring to USE_EXACT_ALARM as Google says it's only for calendar and alarm clocks. If so, Google had already stated in their own docs that this was subject to their approval that implied there was risk involved and was relayed in the plugin readme https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications#androidmanifestxml-setup. When they introduced changes in Android 14, they had provided guidance on this as well (see https://developer.android.com/about/versions/14/changes/schedule-exact-alarms) and the plugin was updated in 16.0 to accomodate. The section I linked to earlier in the readme also mentions this. Have you checked this?