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

Ionic Capacitor - Import Android is fails #39

Open
CarlosFJ opened this issue Oct 1, 2020 · 4 comments
Open

Ionic Capacitor - Import Android is fails #39

CarlosFJ opened this issue Oct 1, 2020 · 4 comments

Comments

@CarlosFJ
Copy link

CarlosFJ commented Oct 1, 2020

Well, I'm working with this plugin in an Ionic Capacitor project. When the app is synchronized in android, Android Studio not find "import android.support.customtabs.CustomTabsIntent" in BrowserTab.java file.

This issue is resolved to changing the imported line to: androidx.browser.customtabs.CustomTabsIntent.

May I supposed that is a change in Android ?? or an issue ??
Thanks, Carlos.

@CarlosFJ CarlosFJ reopened this Oct 21, 2020
@nampdn
Copy link

nampdn commented Dec 15, 2020

I think this package is abandoned, if we want to fix this issue we can use the NPM patch-package to patch this package directly on node_modules as there no more release on this.

Or we can try to use https://github.com/TobyEb/cordova-plugin-colored-browser-tabs instead

@mlynch
Copy link

mlynch commented Sep 13, 2021

This plugin is unnecessary in Capacitor. Just use the Browser API: https://capacitorjs.com/docs/apis/browser

@jpike88
Copy link

jpike88 commented Dec 8, 2021

@mlynch this plugin is still required by cordova-plugin-firebasex, it may not be so easy to just dump it. What it needs is a 'revamped' upgrade that allows it just to install properly on recent cordova-android versions

@sethrevelle
Copy link

npm install jetifier
npx jetify

This keeps the wagon rolling.

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

5 participants