cordova-music-controls-plugin
cordova-music-controls-plugin copied to clipboard
iOS - Invalid Callback ID
Dear,
I just created a new app on ionic. cordova-plugin-music-controls 2.2.0 installed.
Everything works on Android but when I use iOS, I got the error "Invalid Callback ID received by sendPluginResult."
Any idea ? Thanks Philippe
Same problem here.
Same here
@dupphil @ramoncarreras any update on this?
Switching to CDVUIWebViewEngine solved the problem for me.
If you write this code after initialization, will work. MusicControls.listen();
It could fix "Invalid Callback ID received by sendPluginResult"
Switching to CDVUIWebViewEngine solved the problem for me.
UIwebview is deprecated and slow unfortunately. I wouldn't recommend this despite the multitude of issues wkwebview has it is still better.
If you write this code after initialization, will work. MusicControls.listen();
Also try this as advised above by @blkd13