Firebase dynamic link always open web version instead of Google play - android

App not installed. Clicking to firebase dynamic link lead to browser and open web content.
I am using this dynamic link: https://market.page.link/?link=https://market.kz/cabinet
I followed this doc: https://firebase.google.com/docs/dynamic-links/create-manually
I tried specify afl and apn but it didnt help.

The reason seems not be under developpers control. I had this problem too because i was always testing with the same app when opening the firebase dynamic link (Skype mobile).
I could not tell you exactly which app are causing this problem, but i can tell you that if you open a firebase dynamic link using skype in your Android device (strangely, it works fine with iOs), it will redirect to your browser at the Google play page.
You should try using another mobile app and open the link and see if it works. I tried facebook messenger and telegram and it works fine.
See more here : https://github.com/firebase/flutterfire/issues/2828

Related

Android react-native deep linking and application embedded browser

I have a react-native application which use deep linking for Android.
Basically I have a working setup, which means that when im testing on a real device if I go to my website page displaying a link mapped by the AndroidManifest.xml, my app is correctly opening when clicking on the link. Same thing when I'm clicking the mapped link directly from Gmail app or Slack, everything works correctly.
However, when I'm going to my website page (which is displaying the mapped link) from the "embedded" Gmail or Slack browser and clicking on the link, the deep link doesn't work and it redirects on the web directly without asking to open the app first.
It seems a strange behaviour for me and after some research I wasn't able to find an explanation or a solution, so anyone have an idea on how to handle this ?
Thank you for your time.

Deeplink url takes to play store/app store but not opening app if installed

My deeplink url is redirecting me to the play store/ app store even the app is installed. But its working fine if open through slack, it opening the app from slack. But not working on facebook or chrome. Does someone knows the answer?
There are different behaviours between the different apps. Android Chrome for example works with intents and not URI scheme, Facebook usually doesn't like people leaving their app so some of the redirections are blocked.
For iOS you have different issues and different problems because Apple started blocking redirection to the app from advanced versions of iOS, unless you are using Universal links.
What I am trying to say is that I suggest using a 3rd party solution that can do all those workarounds for you.
Check https://www.appsflyer.com/product/one-link-deep-linking
- for more info

Force Firebase dynamic link to open in app browser

If you create a dynamic link using the firebase console, it provides an option to define link behavior to either open the link in app or in a browser. How do we force a link to be opened only in a browser while creating the dynamic link with the REST API? Is there any parameter we can define to force this behavior?
You cannot force open the website using programmatically created short dynamic link in 4/2020. I tried them all. If the app is installed, it will always open the app and there isn't any param when you create dynamic link programmatically to force open it in the website. Funny because in console when you create it there, you can specify to force open in the website. If I am wrong, please comment or correct me. Filed the bug report to Firebase: https://github.com/firebase/firebase-ios-sdk/issues/5376
Try skipping the apn parameter from the url while create dynamic link from Rest API.
This will by default open the link in the browser.
Hope this will help you.

Get referring url for Android or iOS installation

We have several landing pages that link to Google Play and iOS App Store. I would love to know the landing page that a person came from within the app code. I have searched around and can't find any clear answer. Lots of gray area.
I just want to access the landing page URL in Java or Swift.
I realize iOS and Android are two separate beasts. But does anyone know how I could achieve this?
You will need to use Firebase Dynamic Links this helps you create various links using various alternatives as shown in this quote from the official Firebase source:
You create a Dynamic Link either by using the Firebase console, using a REST API, iOS or Android Builder API, or by forming a URL by adding Dynamic Link parameters to a domain specific to your app.
Then your app can access the link in code using Java or Swift and the link will work even if the user has your app already in their phone and you can set a logic to handle that too and the links are also automatically direct the user to AppStore or PlayStore depending on which device is used.
Dont worry about whether the link will work for both Android and iOS and you can use the api to access the link as this quote says.
With Dynamic Links, your users get the best available experience for the platform they open your link on. If a user opens a Dynamic Link on iOS or Android, they can be taken directly to the linked content in your native app. If a user opens the same Dynamic Link in a desktop browser, they can be taken to the equivalent content on your website.
In addition, Dynamic Links work across app installs: if a user opens a Dynamic Link on iOS or Android and doesn't have your app installed, the user can be prompted to install it; then, after installation, your app starts and can access the link.
You can get more information on dynamic links here and check if it will solve your problem.

Redirect issue with Firebase Dynamic Link Android

I Have an issue with Firebase Dynamic Link.
I'm testing with Google Chrome. In case I put the link into an href it works with no problems and the link opens my Android app.
In case I put the link into a JavaScript that redirects the user to the Dynamic Link it does not work: it's like Google Chrome does not find the Android app installed and opens the Google Play instead (that is the default action if the app is not installed).
Does anybody had this same issue?

Categories

Resources