Search code examples
iosfirebaseconfigurationdeep-linkingfirebase-dynamic-links

Invalid dynamic link when using firebase in iOS


I am working on implementing firebase dynamic links to handle deep link in an app.

I followed the documentation here but it doesn't work.

The steps I did to configure dynamic links (after configuring Firebase with my app)

  • I added the App ID Prefix ( Team ID ) in the project settings in Firebase Console
  • In Dynamic Link tab in Firebase Console: I added the URL Prefix
  • I checked the apple-app-site-association file and everything is fine and I can find the appID
  • In Xcode, I added the associated domain in the target ( the URL Prefix in Firebase )
  • In Xcode, I added a URL Type also and set the URL Scheme to the app bundle id ( as it's the default for firebase )

I tried to test it and put the URL Prefix in the notes and when I click on, it opens safari instead of the app and the page says "Invalid Dynamic Link"

I tried to remove the app, hard restart device, clean Xcode build folder and install again and it didn't work also I tried to build by release mode but also it didn't work

so does anyone figured out a solution if he went through this before?


Solution

  • Weird, It worked after some time without making any change.

    Firebase may take some time to make the changes effective.