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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capacitor Android Plugin Guide is outdated, it still use fn tha #137

Closed
JordenLCH opened this issue Jan 19, 2023 · 1 comment
Closed

Capacitor Android Plugin Guide is outdated, it still use fn tha #137

JordenLCH opened this issue Jan 19, 2023 · 1 comment

Comments

@JordenLCH
Copy link

URL
https://capacitorjs.com/docs/v2/plugins/android#export-to-capacitor

What is missing or inaccurate about the content on this page?
It is still using an out-of-date function that no longer works.

this.init() should change to registerPlugin(FirebaseAnalytics.class);

capacitor-community/firebase-analytics#94
https://capacitorjs.com/docs/updating/3-0#switch-to-automatic-android-plugin-loading

@jcesarmobile
Copy link
Member

jcesarmobile commented Feb 2, 2023

You are checking v2 version of the plugins
v4 version of the same docs is located at https://capacitorjs.com/docs/plugins/android (see, no v2 on the url)
registerPlugin is not needed, Capacitor 4 has automatic plugin registration.

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants