Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS - Invalid Callback ID #150

Open
dupphil opened this issue Mar 26, 2019 · 8 comments
Open

iOS - Invalid Callback ID #150

dupphil opened this issue Mar 26, 2019 · 8 comments

Comments

@dupphil
Copy link

dupphil commented Mar 26, 2019

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

@ramoncarreras
Copy link

Same problem here.

@IllesAprod
Copy link

Same here

@IllesAprod
Copy link

@dupphil @ramoncarreras any update on this?

@silencio
Copy link

Switching to CDVUIWebViewEngine solved the problem for me.

@blkd13
Copy link

blkd13 commented May 5, 2019

If you write this code after initialization, will work.
MusicControls.listen();

@huybuidac
Copy link

image
It could fix "Invalid Callback ID received by sendPluginResult"

@ghenry22
Copy link
Contributor

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.

@ghenry22
Copy link
Contributor

If you write this code after initialization, will work.
MusicControls.listen();

Also try this as advised above by @blkd13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants