Android Question Seeking ChromeCustomTabs Solution Without android-support-v4 Dependency

Flavio SOuza

Member
Licensed User
Longtime User
Hello everyone,


I’m working on a B4A project and would like to implement Chrome Custom Tabs to open URLs within my app. I’ve found some existing wrappers (e.g., ChromCustomTabs), but they seem to depend on the android-support-v4 library, which I’d prefer to avoid due to compatibility issues with newer Android versions.


Is there an updated library or alternative approach to use Chrome Custom Tabs in B4A that does not rely on android-support-v4 (preferably using AndroidX or a native solution)? Any guidance, sample code, or links to relevant resources would be greatly appreciated!


Thank you!
 
Solution
The compiler automatically converts old Android Support references to AndroidX references, when possible.

So if it is working for you, and assuming that you are not using a very old SDK (you can see it in the compilation output), then you don't need to worry about it.

Flavio SOuza

Member
Licensed User
Longtime User
Thank you, Erel, for the clarification! It worked after testing, and I appreciate the insight about the automatic conversion to AndroidX. I’ll test more deeply, but initially, it’s functioning flawlessly. Stay safe!
 
Upvote 0
Top