2
votes

Firebase Dynamic Links do not survive on iOS 11.3.1 when user don't have installed. Anyone else experiencing this issue? This works fine prior to iOS 11.3.1

Repro steps::

  1. Click on FDL link
  2. User redirected to app store
  3. User install app
  4. User open app
  5. FDL params not passed
- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
  sourceApplication:(NSString *)sourceApplication
         annotation:(id)annotation {

//the url here returns:
//google/link/?match_type=none&match_message=No pre-install link matched for this device.
or     
//google/link/?dismiss=1&is_weak_match=1

}
1
yes we are seeing the same thing -- earlier versions of OS (11.0.3, 11.2.6) still respond as expected.jstevenco

1 Answers

5
votes

I've reported this to Firebase and they're still working on the fix.

https://github.com/firebase/firebase-ios-sdk/issues/1244

In the meantime, the workaround is to turn off the forcedRedirectEnabled.

FIRDynamicLinkNavigationInfoParameters *navigationParams = [FIRDynamicLinkNavigationInfoParameters parameters];
    navigationParams.forcedRedirectEnabled = NO;
    components.navigationInfoParameters = navigationParams;

or if you use the admin console to generate the link, you need to leave the Skip the app preview page setting unchecked.

Note that this means users will see one interstitial page before it redirect to app store, which is not ideal but at least FDL params will be passed.

Hope this helps someone.

Cheers!