flutter_background icon indicating copy to clipboard operation
flutter_background copied to clipboard

Add permissions to plugin's AndroidManifest.xml

Open larssn opened this issue 1 year ago • 0 comments

Any reason why the 3 permissions below aren't added to the plugin's AndroidManifest.xml? Gradle is pretty good at merging manifest files when building, so there's shouldn't be any reason to ask the consumer to put these in the app's manifest.

<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />

larssn avatar Feb 01 '24 11:02 larssn