android - Chrome Custom Tab does not go back to app -
i have webview loads html links inside. links opened using chrome custom tabs.
strange scenario:
- open chrome browser
- open app
- press link (this open chrome custom tab)
- press button or "x" button on custom tab
- instead of going app chrome browser shown.
[updated] launch mode of activity, set in androidmanifest, singleinstance.
the problem activity had launch mode "singleinstance". changing "singletask" or not having launchmode set in androidmanifest solves problem.
don't know why that. if know why, gladly mark explanation solution.
Comments
Post a Comment