Dynamic Link not working in IOS due to FirebaseDynamicLinksCustomDomains

Project Settings
Resolved

Problem: dynamic links works fine in Android but in IOS they just open the home page instead of the specific page path.

Context: I have setup dynamic link as documentation https://docs.flutterflow.io/advanced-functionality/deep-and-dynamic-linking by using the default URL "myapp.page.link" and it was working fine in both IOS and Android. After purchasing a new domain, I decided to use it for dynamic link URL as "link.myapp.com". After doing so, IOS stopped routing the clicks to the specific page, and instead to home page.

What have you tried so far?

I have tried everything and red all the posts. Then I used the debugging tools to see logs, and I found out that IOS was not able to resolve the dynamic link.

NSLocalizedFailureReason "Universal link URL could not be parsed by Dynamic Links"

Root cause: FirebaseDynamicLinksCustomDomains is missing in Info.plist as described in https://firebase.google.com/docs/dynamic-links/custom-domains#console.

<key>FirebaseDynamicLinksCustomDomains</key>
<array>
  <string>https://link.myapp.com/</string>
</array>

After adding this to Info.plist, it start working fine. My ask is:

  1. Can FlutterFlow setup automatically this config?

  2. Can FlutterFlow allow users to configure Info.plist, including arrays?

Currently I am downloading the app and making this change manually, it's really anointing. I don't want to download the code every time for this.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
2 replies