I have a WebView that loads a HTML with links inside. Those links are opened using Chrome Custom Tabs.
Strange scenario:
[updated]
The launch mode of my activity, set in the AndroidManifest, is singleInstance.
The problem is that my activity had the launch mode "singleInstance". Changing to "singleTask" or not having a launchMode set in the AndroidManifest solves the problem.
Don't know why is that. If you know why, I will gladly mark your explanation as the solution.
This can also happen if you use the application context instead of an activity context.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With