webmasterab
webmasterab
@jofr Is it possible to update the plugin to capacitor 6.0. We need to update the app to capacitor 6.0 in order to write to API 34, which is mandatory...
@giovannigarifo how can I clone this? I have no idea what to do and I really want to update to capacitor 6.0. Can you explain what I need to do?
Good that there is a solution. I would like an update so that this can be resolved with the next update of the app that uses this.
Looks like I haven't processed it properly yet. Because when I test it now, the screen is gone. Please test on real device
Unfortunately it does not work on a real device. When I stop the player it stays on the lock screen. No idea how I can fix this
> `setPlaybackState`in This is how I got this part. updatePlaybackState() { const playbackState = this.playbackStopped ? 'none' : (this.audio.paused ? 'paused' : 'playing'); MediaSession.setPlaybackState({ playbackState: playbackState }); }
It also crashed on me. See image 
If you use this plugin it will no longer run in the background but in the foreground and will not stop if the app goes to the background. Recently had...
That's right, it works fine, but updating other plugins has to be done with -force, which is annoying and takes a lot of extra work.
> I recommend this fork github:bccsa/capacitor-media-session https://github.com/bccsa/capacitor-media-session This is a clickable link to it. And it is indeed compatible with version 7. Thank you. Hopefully it will be processed into...