Once opening a firebase link always returns a link when reinstalling the app on a device

自作多情 提交于 2019-12-29 06:30:41

问题


I am currently busy using the firebase dynamic link and everything works well except one thing.

When I click on a firebase link, I will be redirected to the appstore where I can download the app. When I download the app, the openURL method is called and the dynamic link is not empty, just as it should be.

Now if I delete the app and reinstall it again, the dynamic link is still NOT empty. Why is that?


回答1:


Firebase Dynamic Link will not be "consumed" after link was received by your App. Dynamic Link will have 1 hour lifetime since you clicked on link in Safari. To inform App that link was previously used, we provide parameter DynamicLink.matchType.

When your App first receiving the Dynamic Link the matchType will be default. (Exception here if copy unique match succeeded, then matchType will be unique.) All subsequent links will have matchType weak. Also if matchType have value none, this means match was not achieved.

Please provide example of the link you receiving for the first and subsequent time to be sure I interpreting you situation correct.



来源:https://stackoverflow.com/questions/47908554/once-opening-a-firebase-link-always-returns-a-link-when-reinstalling-the-app-on

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