Skip to content

Commit

Permalink
fix: dehy#72
Browse files Browse the repository at this point in the history
fix: dehy#72
  • Loading branch information
arakneaweb committed Nov 10, 2024
1 parent 6c9fa03 commit d377fd8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

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

<queries>
<intent>
<action android:name="androidx.media3.session.MediaSessionService"/>
</intent>
</queries>
<application
android:name=".MainApplication"
android:label="@string/app_name"
Expand All @@ -22,5 +27,10 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name="com.radioplayer.PlaybackService" android:foregroundServiceType="mediaPlayback" android:exported="true">
<intent-filter>
<action android:name="androidx.media3.session.MediaSessionService"/>
</intent-filter>
</service>
</application>
</manifest>

0 comments on commit d377fd8

Please sign in to comment.