Redirect from Mozilla Firefox to Android app - Deep Linking

一曲冷凌霜 提交于 2019-12-10 03:41:39

问题


I use an intent filter to allow deep linking to an activity of my application. Like in the example given below: https://developer.android.com/training/app-indexing/deep-linking.html

The redirection to my app works fine with Google Chrome and the Android Browser but when i use Firefox, the problem is that Firefox launches a new instance of my app, instead of redirecting me to the already launched instance of the app. Moreover the new launhed app seems to be running through Firefox.

The senario is the following: 1) I launch my app. If the user has forgot his credentials i send him an email. 2) The user goes to his email app. 3) In the email i sent to the user, there is an account activation link which also redirects him back to the application.

What could be wrong with Firefox? Thank you in advance!


回答1:


According to This Post, Firefox implements a less invasive experience to the user. When an url is opened which has a deep link to an app, the url bar displays a page action with a little Android head. Clicking on this one will open the link with an Android activity other than a browser. The behavior of the Android browser and Chrome you observed and made your expectation.



来源:https://stackoverflow.com/questions/28407300/redirect-from-mozilla-firefox-to-android-app-deep-linking

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