Firebase Dynamic Link dont work in Xamarin.iOS - ios

I created short link in firebase like this:
In apple developer i set Associated Domains:
I have developed & installed an iOS app locally on my device. On android, after setting IntentFilter to app.mydomain.com it did not work but after changing to mydomain.com everything works fine.
When i set associated domains in iOS entitlements as weel:
applinks:app.mydomain.com or applinks:mydomain.com or applinks:mydomain.com/test
When I open or click on dynamic link on iOS, it opens app page in the App Store app and not opening app itself though it's installed.
What could be wrong?

Related

Firebase dynamic link always goes to ios app store even if app installed

I have a dynamic link that is working fine on Android however I can't get the App Store redirect behaviour working correctly on iOS.
If I set up the dynamic link to go to a url (not the app store) if the app is not installed it works as expected and opens the app. This is the dynamic link:
https://go.xxxxx.app/?link=https://member.xxxxx.app&apn=app.xxxxx.xxxxx&isi=1573527302&ibi=app.xxxxx.xxxxx&ifl=https://member.xxxxx.app&efr=1
However if I set it to go to the app store if the app is not installed it ALWAYS goes to the app store, even if the app is installed.
https://go.xxxxx.app/?link=https://member.xxxxx.app&apn=app.xxxxx.xxxxx&isi=1573527302&ibi=app.xxxxx.xxxxx&efr=1
I am obviously doing something wrong or misunderstand the relationship between deep links and dynamic links. "go" is my dynamic link subdomain and "member" is my deep link subdomain.
I realise there are several other questions on this but none of the answers helped me.
Other info
I am using a physical iPhone 8 with iOS 15.4.1
This is my deeplink which works fine if I click the url on my device:
https://member.xxxxx.app
I have an app association file set up here:
https://member.xxxxx.app/.well-known/apple-app-site-association
I also set it here as I wasn't sure whether to set it up for the dynamic link as well:
https://go.xxxxx.app/.well-known/apple-app-site-association
I have the following Associated Domain set up in Xcode:
applinks:member.xxxxx.app
Note that I have not added the associated domain applinks:go.xxxxx.app as this just seemed to make the dynamic link be treated like a deeplink.
I have the capability associated domains turned on in my Apple Developer identifier.
My app is published to the app store but not the latest version of the app with the associated domain member.xxxxx.app.
I have added my app and team id to Firebase on the ios app.
I have "Associated Domains Development" turned on in the developer settings of my iPhone.
I added FirebaseDynamicLinksCustomDomains in my info.plist as mentioned here:
https://firebase.google.com/docs/dynamic-links/custom-domains#set_up_a_custom_domain_in_the
It appears I needed to add applinks:go.xxxxx.app to the Associated domains as well. I can't test from the App Store if the link parameter works I guess I will have to wait until I release to the store.
So the dynamic link is also a deep link that contains another deep link.
Kind of confusing. If anyone can add some more info or explanation that would be great.
I will leave the question here for now as it may help people.
I have the following Associated Domain set up in Xcode: applinks:member.xxxxx.app Note that I have not added the associated domain applinks:go.xxxxx.app as this just seemed to make the dynamic link be treated like a deeplink.
Edit:
To get the dynamic link working in iOS see my answer here:
Firebase short dynamic link not working in iOS (being treated as a deeplink)

Universal link not redirecting to iOS app

I have done basic setup for universal linking
Associated domain is set applinks:domainName
Uploaded apple-app-site-association file to the server (tested in https://branch.io/resources/aasa-validator/). Updated new format to support iOS 13
Certificates are valid
Running in release mode
Added code for redirection in app
But still, on click of universal link, safari gets opened instead of iOS app (Not even a banner with OPEN button). Tried from notes app too .On long press of the link, my app is also not listed

flutter ios dynamic link always opening appstore, i have associated domain set to applinks:XXXX.XXX correctly,

I'm working on a flutter project ios app and implementing firebase dynamic links.
I've followed all steps, but now is working. My app always opening to app store, it first opens safari and then app store even when the app is installed.
If someone has a solution to this please help me out, its 3 days now on the same thing and I have not cracked it
I have associated domain set to applinks:domain.page.link
I have even deleted the ios folder and re-created it again
I have a URL scheme set to my bundle id
I have followed all steps but still, my apps open.

Firebase dynamic links not working on first install for iOS <= 9

I am having trouble getting dynamic links to work on first install for iOS <= 9.
Steps
I have the link in "Notes" app
I click on the link, it opens in Safary and correctly redirects to the AppStore
I install the app for the first time and open it and receive no callback in AppDelegate for iOS 8. For iOS 9+ the "dynamicLink" is nil.
Additional Info:
All delegate methods from docs are implemented but none is called (they work if the app is already installed)
both custom and bundle id schemes are setup in "URL types"
Associated domains are enabled and I have "applinks:dyz22.app.goo.gl" in it, although it shouldn't matter for an iOS 8
Google plist is there
The team ID is setup in the dashboard (App ID Prefix), although I haven't seen it anywhere in the Google plist, don't know if it should be there
it works for 10+
FIRApp is configured in "didFinishLaunchingWithOptions"
Have tried with C++ SDK as well, but got the same result.

Firebase iOS is not opening my app from Safari

I tested the dynamic links Firebase. Configured everything in the project, the implementation did exactly like the Google documentation and created links on the console. When I test in Safari it does not open the application.
Thank you
iOS 9+
Due to the limitations on the iOS platform, Firebase Dynamic Links must rely on Apple's Universal Link system to open the app directly from a link when it is installed. One of the constraints placed on Universal Links is that the app-open behavior is only triggered from a user's click and not by a redirect or copy/paste into Safari.
We have found it very challenging to test Universal Links in the simulator and pretty much always use a real device for this type of thing. Basic steps: install app > SMS link to your test device > click link > observe app open.
iOS 8 and prior
iOS versions prior to 9 handle opening the app from a Dynamic Link through Safari, so if the app is not opening when you copy/paste the link into Safari then some setup is incomplete. Please review your Firebase project for information and confirm that your bundle IDs/custom schemes match on the project page, in your link, and in your app; be sure that the bundle ID is listed in URL Types in your Xcode project setup along with any custom scheme you wish to use.
Other Info
Here is a link to a prior answer that may be helpful as well.
Firebase dynamic link not opening the app iOS

Resources