Switch to automatic Android plugin loading. Plugin not implemented. #4984
Unanswered
johnborges
asked this question in
Q&A
Replies: 2 comments
-
Capacitor reads the capacitor.plugins.json file that should contain the installed plugins, and with the information it finds there, it register the plugins without adding any code to the MainActivity.java. There are a few other things that can cause the "plugin not implemented" |
Beta Was this translation helpful? Give feedback.
0 replies
-
It seems I didn't even need to touch |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to better understand how automatic plugin loading should work. I've added the android project generated from
@capacitor/[email protected]
for an app that already is working fine for iOS.npx cap add android
My app already has a number of plugins installed since the iOS platform was added first. My
package.json
andMainActivity.java
looks like this:Does
MainActivity.java
need to get modified manually in order for plugin loading to take effect? Should this file already have all the included plugins my app had already installed?Beta Was this translation helpful? Give feedback.
All reactions