Skip to content

Commit

Permalink
android: manifest - added android:foregroundServiceType=mediaPlayback…
Browse files Browse the repository at this point in the history
… and permission FOREGROUND_SERVICE_MEDIA_PLAYBACK

Required by newer android sdk.
  • Loading branch information
geneticdrift authored and MaxKellermann committed Feb 1, 2025
1 parent 59bd0fe commit cd9522c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

<application
android:allowBackup="true"
Expand Down Expand Up @@ -64,7 +65,9 @@
</receiver>

<service
android:name=".Main" />
android:name=".Main"
android:foregroundServiceType="mediaPlayback"
/>
</application>

</manifest>

0 comments on commit cd9522c

Please sign in to comment.