'Android Custom Tabs - prevent launchUrl() from opening default apps, force in-app custom tab browser
.launchUrl(this@MainActivity, Uri.parse(url))
When url is https://www.amazon.com, the Amazon app is opening instead of the custom tab browser. Is there any way to prevent this from happening and forcing to use the custom tab browser instead of default apps?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
