Firebase Dynamic link is not opening IOS application - ios

I have followed all the steps from the Firebase Dynamic links documentation:
Added Team Id to firebase console
Added custom domain
Enabled Associated domains
Added to Info URL Schemes
However, when I click on dynamic link it always redirect to AppStore not to the app. I have tried to unistall app, restart phone and install again. How to make this deep link work?
P.S: my app is not published to AppStore yet.

In my case the problem was that I made a typo in Associated domains in Xcode, instead of applinks, I typed 'applink'.

Related

Universal Links Keep Redirecting to App Store

We are trying to integrate Universal Links feature in our app.
We have an associated domain and put AASA file to server. However, when we install the app on iOS device and navigate to the url we are being redirected to the app store instead of opening our iOS app.
So the question is: Should the app be published in the AppStore to utilize Universal Links or is there some issue on our side?
You should be able to test universal links with an unpublished app. Since you're ending in the App Store, my guess is that it's an App ID mismatch.
An AASA ties paths on a domain to a particular App ID. The App ID has this format:
{TEAM_IDENTIFIER}.{BUNDLE_ID}
Is it possible you changed the Team in Xcode to something else? You'd still see the same Bundle ID but the resulting App ID would be different.

Firebase Dynamic Links stop working after IOS app Transfer to new Developer Account

Our app had dynamic links up and running in the AppStore, but we had to transfer the app to a new developer account. After the transfer dynamic links no longer open the app, going straight to safari.
The transfer kept the Bundle Identifier the same but the Team ID changed.
I have tried:
-Updating Team ID on Firebase Project Settings
-Re-downloading and importing GoogleService-Info.plst
-Verifying TeamID and AppID correct under https://example.com/apple-app-site-association
-Turning on and off Associate Domains under the app config
I am aware I must click the link in notes or email or iMessage, and I have tried holding down on the link to specify it to open in the app.
I believe my configuration for the app to handle the link is messed up rather than it being on firebase's end, but I cannot figure out what exactly is the issue. Any tips or hints in the right direction are greatly appreciated. Thank you!

Unable to open the app from universal link through gmail app or mail app.It is working from safari app only

i need assistance to resolve an issue . I have successfully integrated branch.io with my ios app. My web server side send link of account verification which is deep linked in the app using domain. They send the link using sendgrid module , I have also integrated sendgrid settings for branch.io like tracking domain etc. In my app capabilities associated domains are also added with tracking domain as well.Following is the problem when i try to open the link from gmail app on iphone or opening the link from mail app iphone.
Working Scenarios:
when i got signedin from safari through my gmail account and click
on the deep linked link , it successfully open up the app.
when i create a link from dashboard and open the link from that app
, it open the app successfully.
Error Scenario:
1:when the same link is opened through gmail app or mail app from iphone it does not open the app and it prompts me to open the link in store, and it gives the following result, which is added in the screen shot.
Please make sure that you have our Deep Linked Email feature integrated with your ESP because normal Branch links will not open the app from Gmail/Mail apps.
If you have Deep Linked Emails enabled, this means that something went wrong during the setup process. Please follow our docs here to ensure that you did not miss any steps:
https://docs.branch.io/pages/emails/sendgrid/
For more help, please write in to integrations#branch.io as we would need access to your dashboard to see your Deep Linked Email configuration. Thanks!

A tap on a message does not open the app page in AppStore

The application I develop, which contains iMessage extension got published in AppStore recently.
When I send messages with my extension to people without this app installed, they tap on the message, and get AppStore view, opened at "Featured" page.
According to documentation, it should open my app page.
Are there any conditions required for this to work?
Any rules to follow regarding bundle IDs, names, entitlements, anything?
It seems to work for other apps.
Well, it turned out to be my own fault. For this feature to work properly, the sender must have your app downloaded from the AppStore. Ad-hoc or debug builds somehow fail to add the proper magic to the custom messages.

Dev and Production apps for iOS (with Facebook SDK)

I'm building an app which uses Facebook SDK. Since it's already in production I wanted to install two versions on my device (the App Store Version and the Development version).
I followed this instructions and successfully installed two versions of the app, but when trying to Log in using Facebook I got a problem because the development version bundleID (com.company.app.dev) does not matches the registered one on my Facebook App (com.company.app).
This guide shows how to share the same facebook appID between apps. The guide is quite confusing to me. I registered the two bundle ids (com.company.app.dev and com.company.app) and one URL scheme suffix (dev), and modified mi App.plist file to include the FacebookUrlSchemeSuffix key.
That lead me into another problem, when I logged into the production app, the callback was opening the development app, because both apps had the same URL callbacks registered (fbxxxx and fbxxxxdev, where xxxx is my facebook app id).
I solved it registering a user-defined build setting that adds the FacebookUrlSchemeSuffix when in Build mode and not in Release mode, and also modifying the URL schemes in the App.plist file to append the suffix in the same case.
But this solution seems a bit hacky since it does now follow the Facebook guides. Is there any better solution to this? I think I'm not following the Facebook guide correctly.
What you're doing is fine. You should have fbxxxx registered as a scheme in your production app, and fbxxxxdev in your dev app, and also add the suffix in your dev app.

Resources