10

We're having trouble with the following Firebase Dynamic Link in Chrome iOS (tested on 72.0.3626.74): https://carvana.page.link/?link=https://www.carvana.com&isi=1273426583&ibi=com.carvana.copilot&cid=4115817180136449045&_icp=1

On a device without the target app installed, the link is expected to open the app store.

When following the link on a device with Chrome set as the default browser, the "preview page" opens and immediately displays a dialog reading "This page will open in another application":

Step 1

Tapping "Open" dismisses the dialog but does not open the app store:

Step 2

Tapping the "OPEN" HTML button then triggers the same dialog again:

Step 3

This time, tapping "Open" opens the store as expected:

Step 4

Opening the link in Safari behaves as expected, rendering the preview page and prompting to open the store only after tapping "OPEN".

pauljm
  • 442
  • 2
  • 12
  • Also interesting to note that the app icon doesn't display properly on the preview page in Chrome, where it does in Safari. – pauljm Feb 08 '19 at 06:06
  • Googling around, I was able to find another FDL—the first I found that points to the App Store—that displays the same behavior: https://funrun3.page.link/tp – pauljm Feb 11 '19 at 17:52
  • Do you have `.forcedRedirectEnabled` set? – Nathan Fries Aug 07 '19 at 04:26

1 Answers1

4

This seems to be an ongoing issue with Forced Redirects in FDL. You can read up on it here.

Basically the workaround until a permanent fix is to disable Forced Redirects. It is annoying, however the App Preview page link is more reliable than Forced Redirect.

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

Other users have reported related issues, and some have found wokrarounds for FDL Forced Redirect issues similar to the one you are reporting.

I believe that issue is due to the Forced Redirect not correctly determining the IOS version of the client. The Forced Redirect uses a different route than the App Preview page. As stated above, even the FDL documentation says that the App Preview page is more reliable than Forced Redirect.

I hope this helps

Nathan Fries
  • 1,464
  • 5
  • 15