Firebase dynamic link always goes to app store URL even if the app is installed
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.
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.
Firebase dynamic link always goes to app store URL even if the app , Edited the link through firebase console. With the 'Skip the app preview page' enabled and 'Use a custom scheme when universal links aren't I am trying to integrate Firebase dynamic link into Android app but the problem is that even if the app is installed the dynamic link is taking me to play store page to download the App from play store. I sent email with dynamic link. Then at Android smartphone, I opened the email and clicked the dynamic link, it goes to play store always..
I faced the exact same problem.
To work around this, I give up href attribute and use onclick on
<a onclick="location.href=https://somedynamiclink.url">Dynamic Link</a>
Please note, no href attribute on a tag.
Firebase Dynamic Links, You can create a Dynamic Link by manually constructing a URL with the following form If the installed app is an older version, the user is taken to the Play Store to Links and send users to the right place in your app after a user opens them. When a user opens one of your Dynamic Links, if your app isn't yet installed, the user is sent to the Play Store or App Store to install your app (unless you specify otherwise), and your app opens.
TL;DR: To make it work, you must also set up the Firebase Dynamic Link as a universal link in your app settings. To do so, see below.
My dynamic link worked with the preview page, but then I added "&efr=1" to skip the preview page and redirect directly to either the App Store or my app. It worked with the preview page because it called the universal link that was already set up with the app.
Example: My app is named Spontit. Preview page worked because the "Open" button redirected to spontit.com, which is linked to my app. But the dynamic link is spontit.page.link - a different domain name - and therefore, if you skip the preview page, it opens spontit.page.link and not spontit.com in Safari and so not my app, and subsequently redirected to the App Store always.
You must set up the custom dynamic link (e.g. spontit.page.link) as a universal link. Follow these steps to do so.
Manually constructing a Dynamic Link URL, We used Firebase Dynamic Links when building our demo app. As I mentioned, dynamic links work even if the user hasn't installed the app – simply redirecting func handle(url: URL, completion:DeeplinkHandlerCompletion?) open the deep link and go to the App Store; download the app; replace it I try to get Url after install app from Google store. if the application is installed and i click on link app open and function firebase.links().onLink work great. But if app not install i click on url go to android store install app and firebase.links().onLink not work. Also i try to use firebase.links().getInitialLink() it always return null.
How to Handle Deep Links with Firebase Dynamic Links | Blog, Consider you have a web app or web site, and two beautiful apps Why not redirect the users to play store or app store and make them use Let the web URL be: If a user opens a Dynamic Link on iOS or Android and doesn't have Dynamic links provide a way for deep links to survive the installation Ensure that your app's App Store ID and your App ID prefix is specified in your app's settings. To view and edit your app's settings, go to your Firebase project's Settings page and select your iOS
Working with Firebase Dynamic links - MindOrks, When users open a Dynamic Link into an app that is not installed, the app's Play Store page opens, where users can install the app. After users install and open the app, the app displays the deep-linked content. See the Dynamic Links developer Click New dynamic link. Enter at least a Link name and Link URL. Optionally Sharing this link ‘as is’ would be ok if we could assume that Helga was an Android user AND already has the app installed. These are some grotesque assumptions and this is where Firebase
Create a Dynamic Link - Firebase Help, Firebase Dynamic Links for your React Native App (iOS setup only) and help you not go end up banging your head in achieving this! You click on a dynamic link pertaining to activity X. It takes you to the App Store. when the app (that's already installed) is opened from a dynamic link, and the app tries 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 free forever, for any scale.