I have went through the Firebase Tutorial, I have implemented Firebase SDK + Dynamic links + Managed my app to support Associated Domains and everything works fine except that the dynamic link doesn't survive the installation.
I have created a dynamic link through Firebase console,
When app already installed, everything works fine. The dynamic link launch my app with the relevant content
When my app isn't installed, the dynamic link open the AppStore as expected and than I'm installing the app through Xcode, but nothing happens I don't receive any content on first launch.
What I did:
- Make sure that the Scheme URL in Xcode -> Targets -> MyAPP -> Info -> URL Types is the same as my app Bundle Identifier.
- Make sure that under my FireBaseURL/apple-app-site-association the content is fine: {"applinks":{"apps":[],"details":[{"appID":"MyTeamID.com.foo.bla","paths":["/*"]}]}}
- Make sure that I defined in AppDelegate
- I have tried do define in the AppDelegate [FIROptions defaultOptions].deepLinkURLScheme = @"com.foo.bla"
- Make sure that under associated Domains there are no extra '/' or something. My Supported domain is applinks:FireBaseURL.
- Double check that the TeamID that defined in the Firebase console is the same as my application TeamID.
- Of-course I have searched a-lot in StackOverFlow without any success to find a solution that worked for me.
Any suggestions?
UPDATE
OK, so I found that somehow I'm using an old version of the Firebase SDK, so I updated the Firebase SDK + start working on the cellular instead of the Wi-Fi and everything works like a charm. Thanks to @Oleksiy Ivanov