I am trying to integrate Firebase dynamic link into IOS app but the problem is that even if the app is installed the dynamic link is taking me to app store page to download the App from app store. Did anybody face the same problem and have solution for the same.
With Firebase Dynamic Links, you can direct users to either an IOS or Android app from a page, email, or text. If they don't have the app installed, these links can drive users to the appropriate mobile store listing.
Dynamic Links are smart URLs that allow you to send existing and potential users to any location within your iOS or Android app. They survive the app install process, so even new users see the content they're looking for when they open the app for the first time. Dynamic Links are no-cost forever, for any scale.
Stay organized with collections Save and categorize content based on your preferences. To receive the Firebase Dynamic Links that you created, you must include the Dynamic Links SDK in your app and call the FirebaseDynamicLinks. getDynamicLink() method when your app loads to get the data passed in the Dynamic Link.
As far as I know, dynamic links work for as long as your firebase project active. I used some dynamic links more than one year after they were created.
After spending my whole one day, I am able to figure it out finally. It is working if your app is live, just set App ID & TeamID in Firebase App settings.
Issue comes up when app is not live and we are setting another App ID. Just add following line, it will work like a charm:
FirebaseApp.configure()
FirebaseOptions.defaultOptions()?.deepLinkURLScheme = Bundle.main.bundleIdentifier
Setting deepLinkURLScheme with your bundle id.
Edited the link through firebase console. With the 'Skip the app preview page' enabled and 'Use a custom scheme when universal links aren't supported' disabled I was always redirected to the app store.
The solution for me was to enable both universal links and a custom scheme.
Can't say why, but maybe it will help someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With