Additionally bumped version for Gradle plugin and Gradle wrapper to be on par with other plugins, like Flutterfire that already moved to AGP 8 completely.
Finally, this PR also closes https://github.com/florent37/Flutter-AssetsAudioPlayer/issues/814 and allows users to use the plugin in projects with AGP 8. However, due to how old some dependencies in the example app I couldn't move it to AGP 8, so only plugin uses it now.
Adding foreground service type as it is required now in Android 14: https://developer.android.com/about/versions/14/changes/fgs-types-required#use-cases Had to bump
compileSDK
to use the new permission in the AndroidManifest.Additionally bumped version for Gradle plugin and Gradle wrapper to be on par with other plugins, like Flutterfire that already moved to AGP 8 completely.
Finally, this PR also closes https://github.com/florent37/Flutter-AssetsAudioPlayer/issues/814 and allows users to use the plugin in projects with AGP 8. However, due to how old some dependencies in the example app I couldn't move it to AGP 8, so only plugin uses it now.