According to the Firebase Dynamic Links documentation, even if app is not installed, if user opens the link on the device, app page on Appstore opened, and once app installe
To clarify, if my understanding of the linked Google Groups post is correct, the Firebase Dynamic Links library only checks for 'pending dynamic links' once. Ever. So if the app has already checked for pending links, you'd need to delete it and reinstall to check again.
Now to answer your question, neither of those two methods would usually be called if the app isn't installed when the link is clicked. The openURL
method responds to custom URI schemes, and the continueUserActivity
method responds to Universal Links. Neither of those is being used when the app is manually opened by the user after downloading for the first time. The Firebase documentation does say the openURL
method always called on initial install, but I have never seen happening anywhere else so it's possible they are doing something unusual.
At risk of going off-topic, I'd suggest taking a look at Branch.io (full disclosure: I'm on the team). You'll get all of the benefits of Dynamic Links, plus a laundry list of extra functionality and clearer documentation :)
The post-install deeplinking is based on checking a flag:
[FIRApp configure]
called[[UIApplication sharedApplication] openURL:url];
using the custom URL scheme set up manually on FIROptions
or the lowercase bundle ID (e.g. com.foo.bar). If you're not receiving, check the custom URL scheme is properly defined.