Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #402 from tanguyantoine/bradleyflood-patch-1
Browse files Browse the repository at this point in the history
Add foregroundServiceType to Android Manifest
  • Loading branch information
bradfloodx authored Mar 27, 2022
2 parents 954cac2 + cadef13 commit 31b8ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package="com.tanguyantoine.react">

<application>
<service android:stopWithTask="true" android:name=".MusicControlNotification$NotificationService" />
<service android:stopWithTask="true" android:name=".MusicControlNotification$NotificationService" android:foregroundServiceType="mediaPlayback" />
</application>

</manifest>

0 comments on commit 31b8ff2

Please sign in to comment.