Closed rafaelmaeuer closed 2 years ago
@tanguyantoine what's the timeline on a release look like with this in it?
or @bradleyflood maybe? ^
Still facing same issue when calling MusicControl.setNowPlaying(options)
Tried with PendingIntent.FLAG_MUTABLE flag still not resolved
MusicControlNotification.java
PendingIntent.getBroadcast(context, 0, remove, PendingIntent.FLAG_IMMUTABLE | PendingIntent.FLAG_MUTABLE | PendingIntent.FLAG_UPDATE_CURRENT)
Android 12 (Api 32)
What's this PR does?
Conforming lib to Behavior changes: Apps targeting Android 12 - Pending intents mutability. Fixes Android Apps crashing when
compileSdkVersion
and/ortargetSdkVersion
is set to 31.Which issue(s) is it related to?
/
Screenshots (if appropriate)
/
How to test:
MusicControl.on(Command.play, ()=> {})
MusicControl.on(Command.pause, ()=> {})
MusicControl.on(Command.play, ()=> {})
MusicControl.on(Command.pause, ()=> {})