-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Bug]: All plugins are "not implemented on android" after upgrading to Capacitor 6 #7440
Comments
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. |
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot. Have a great day! |
I hit this same issue, where several plugins (including the capacitor-provided "App" plugin) were "not implemented on android". (despite them clearly existing, and my seeing their initializations in the android logs) Base situation: My app's "public" folder merely held "stub" Fix: Rather than use those "stub" files with redirection, instead I just provided my web-hosted domain as the Diagnosis: Anyway, my redirect approach is a bit non-standard, so maybe it's not the reason for the issue you're hitting. But I figured I would mention it, since there aren't many google hits for this error message. EDIT: Oh, I see the issue above (#7467) describes this. And following that chain, there is a also fix/workaround for it here. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Capacitor Version
Other API Details
I think it affects every plugin, but confirmed the error occurs with:
Platforms Affected
Current Behavior
Using any plugin triggers "[plugin name] plugin is not implemented on android"
Expected Behavior
No errors like in Capacitor 5
Project Reproduction
https://github.com/ionic-team/create-capacitor-app
Additional Information
I tried:
npx cap migrate
npx cap sync android
npx cap add android
yarn
@capacitor/create-app
If I use my old Android build with Capacitor 5 plugins, but load a webview containing the JS for Capacitor 6 plugins, every plugin still works. Plugins all work on iOS.
The text was updated successfully, but these errors were encountered: