ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
11.24k stars 955 forks source link

[Bug]: All plugins are "not implemented on android" after upgrading to Capacitor 6 #7440

Open Linksku opened 2 weeks ago

Linksku commented 2 weeks ago

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

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:

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.

ionitron-bot[bot] commented 1 week ago

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 💙