App-Link / Deep link only works one time on samsung or M+ Devices

只谈情不闲聊 提交于 2019-12-13 09:09:58

问题


I have explored recently that Samsung devices if you integrate deep links in your app (i.e. coming from the web to in-app) the chooser dialogue open only one time after its install and after that whenever the web detects that URL deep link initialize whichever app user has chosen last time to browse that webpage. I thought before that the OS saves the user preference on that specific deep link url maybe so by deleting / re-installing app will re-initialize the 'open with' dialogue. but on some devices even after uninstalling and re-installing the app doesn't even work.

problem is sometimes it opens up the webpage without even asking for open with dialogue. I'm mostly sanity testing these deep links on Samsung devices but I think this problem could be on other devices as well. anyone else encountered this problem? is there any solution for testing purpose? Can anyone suggest something?


回答1:


Ok so anyone having the same problem with Samsung specific devices is that Samsung devices select default apps automatically. you can change that in settings page then search for default apps and there is section Default app selction it would be "set default apps automatically" change it to "ask before setting default apps. that would solve this issue




回答2:


I know that android OS asks the user to define open the url just one time with the app or use it as a default application. You can clear default application from setting and see the choose dialog again.

Remember if you use BROWSABLE in your manifest, it causes your app be recognized as web application that can open urls and show your app in the web application dialogs.



来源:https://stackoverflow.com/questions/50905496/app-link-deep-link-only-works-one-time-on-samsung-or-m-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!