Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

branch.io universal link does not work with test flight build

I've configured branch.io deep link and all options as explained at dev.branch.io/getting-started/universal-app-links/overview/

I've setup corresponding configuration on the XCode side of things as well along with SDK integration as explained at https://dev.branch.io/getting-started/sdk-integration-guide/guide/ios/

I've validated the universal link using the tool and script provided on the page at https://dev.branch.io/getting-started/universal-linking-validator/

All tests run positive.

I'm also able to successfully launch the app from the deep link pasted in my Notes app, if I build and install in debug mode directly from XCode.

However once I distribute the build through test flight, I'm not able to launch the app successfully, it always takes me to App Store.

like image 752
Sridhar S Avatar asked Nov 09 '22 01:11

Sridhar S


1 Answers

Your app should open and pass data whenever you click on a Branch deep link - regardless if you are testing on a Simulator, Device, or Testflight. The only issue Branch has with TestFlight is the way TestFlight handles the IDFA. TestFlight uses a fake IDFA which messes up how Branch recognize installs vs opens.

In my testing of Branch with TestFlight for Internal Testing:

√ opens background
√ opens terminated
√ data passed
√ Universal Links
√ URI Scheme
x install on first open (regardless of IDFA change)

If your app is not opening up in TestFlight, you might have a configuration issue. You want to make sure your Branch Dashboard matches the settings you have in your app.

Furthermore, you want to make sure your TestFlights testers are on the same Development Team. This is crucial for Apple Universal Linking to work.

Best,

like image 185
ethanneff Avatar answered Nov 14 '22 23:11

ethanneff