CustomTabs not working with AndroidX
See original GitHub issueAfter migrating project to AndroidX AppAuth-Android stop showing custom tabs and always open auth forms in standalone browser.
After quick research I found that issue with “jetifier” which process libraries and replace references from old support libraries to new androidx.
This constant https://github.com/openid/AppAuth-Android/blob/master/library/java/net/openid/appauth/browser/BrowserSelector.java#L54 changed to androidx.browser.customtabs.action.CustomTabsService
which leads to break hasWarmupService
Yes it looks more like a jetifier bug. But knowing google I don’t think they will fix it.
Is it planned to migrate the library to androidx?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:30 (4 by maintainers)
Top Results From Across the Web
983378 - CustomTabs client doesn't work with AndroidX
We're not planning on adding AndroidX support to custom-tabs-client, you should use the Android Browser Helper instead.
Read more >Error on load Chrome Custom Tab in Android 11
Chrome custom tab work in every other device. Only error in Android 11 . Here is my code how I put I code...
Read more >Using Custom Tabs with Android 11 - Chrome Developers
When an Android app using Custom Tabs targets SDK level 30 or above some changes may be necessary. This article goes over the...
Read more >CustomTabsService | Android Developers
This class should be used by implementers that want to provide Custom Tabs functionality, not by clients that want to launch Custom Tabs....
Read more >Best Practices for Custom Tabs - Medium
Provide a fallback for when Custom Tabs is not installed ... The Developer Show 004 — Android for Work, Chrome Dev Summit, Web...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there a date when these changes are scheduled to be released yet?
This worked for me:
distributionUrl=https://services.gradle.org/distributions/gradle-5.1.1-all.zip
dependencies { //… classpath “com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04” }