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鈥檒l 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

Closed
1 of 3 tasks
Linksku opened this issue May 1, 2024 · 2 comments
Closed
1 of 3 tasks
Labels
needs reproduction needs reproducible example to illustrate the issue

Comments

@Linksku
Copy link

Linksku commented May 1, 2024

Capacitor Version

馃拪   Capacitor Doctor  馃拪

Latest Dependencies:

  @capacitor/cli: 6.0.0
  @capacitor/core: 6.0.0
  @capacitor/android: 6.0.0
  @capacitor/ios: 6.0.0

Installed Dependencies:

  @capacitor/cli: 6.0.0
  @capacitor/core: 6.0.0
  @capacitor/android: 6.0.0
  @capacitor/ios: 6.0.0

[error] Xcode is not installed
[success] Android looking great! 馃憣

Other API Details

$ npm --version
10.6.0
$ node --version
v20.12.0

I think it affects every plugin, but confirmed the error occurs with:

"@capacitor/clipboard": "^6.0.0",
"@capacitor/geolocation": "^6.0.0",
"@capacitor/share": "^6.0.0",
"@capacitor/splash-screen": "^6.0.0",

Platforms Affected

  • iOS
  • Android
  • Web

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
  • Deleted android folder, then npx cap add android
  • Deleted node_modules, then yarn
  • Restarted Android Studio, clean project, reload from disk, rebuild, etc
  • Created a new clean project using @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.

@Linksku Linksku added the triage label May 1, 2024
@jcesarmobile jcesarmobile added the needs reproduction needs reproducible example to illustrate the issue label May 6, 2024
Copy link

ionitron-bot bot commented May 6, 2024

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.
Please see the Contributing Guide for how to create a Sample App.
Thanks! Ionitron 馃挋

@Ionitron
Copy link
Collaborator

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!
Ionitron 馃挋

@Ionitron Ionitron removed the needs reply needs reply from the user label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction needs reproducible example to illustrate the issue
Projects
None yet
Development

No branches or pull requests

3 participants