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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -