ionic-team / capacitor-plugins

Official plugins for Capacitor ⚑️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After Capacitor 6 upgrade, all plugins are "not implemented on android"

Linksku opened this issue Β· comments

Bug Report

I upgraded to Capacitor 6 yesterday, then spent half a day trying to fix "plugin is not implemented on android" errors.

Plugin(s)

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",
"@codetrix-studio/capacitor-google-auth": "^3.4.0-rc.1",

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! πŸ‘Œ

Platform(s)

Android 14

Current Behavior

Using any plugin triggers "[plugin name] plugin is not implemented on android"

Expected Behavior

No errors like in Capacitor 5

Other Technical Details

Additional Context

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 whole new project, npx cap init, npx cap add android, etc. Still doesn't work

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.

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 πŸ’™

Please provide a sample demo app repo that we can test against that has this issue