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:

  1. open chrome browser
  2. open app
  3. press link (this open chrome custom tab)
  4. press button or "x" button on custom tab
  5. 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

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

javascript - Why Selenium can't find an element that is graphically visible -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -