Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 952
IOSporgrammerIOS Avatar asked Dec 20 '17 14:12

IOSporgrammerIOS


1 Answers

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.

like image 66
Oleksiy Ivanov Avatar answered Nov 04 '22 14:11

Oleksiy Ivanov