flutter_background
flutter_background copied to clipboard
Add permissions to plugin's AndroidManifest.xml
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" />