Closed goleary closed 3 years ago
Turns out I was not calling MusicControl.setNowPlaying()
In Android 10 the Music notification shows up even without calling that method (if you just call MusicControl.enableControl('play', true)
.
On Android 11 if you don't call it then nothing shows up.
Here it is working:
May I ask you to update the readme ? 🙏
Sure! I switched the order of the "Now Playing" & "Enable and Disable controls" sections in #370
Everything was in the readme, but the ordering of methods in the is what tripped me up
When I run the same application on Android 10 & 11 I see this:
Android 10 - works as expected
Android 11 - persistent "notification" never shows
Description
https://github.com/goleary/react-native-music-control-min-repro
This is just a new react-native app with
MusicControl
added & enabled.Platform ?