Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Universal Links not working via TestFlight

I'm new to iOS and managed to implement the iOS Universal Links for an app following this.

I have created and uploaded the apple-app-site-association and configured/prepared the app to handle universal links.

It all works well and I can test it successfully when I build the app through xCode into a real device. However the universal links do not work when installing the app via TestFlight.

When installing the app via xCode I can see the HTTP request to the apple-app-site-association file in my web server. But when installing it via TestFlight doesn't seem to try to fetch the association file.

Does anyone knows if this is expected or how can get universal links working when deploying on TestFlight?

like image 720
velval Avatar asked Jun 29 '18 02:06

velval


People also ask

Can we test universal link in iOS simulator?

TEST THE UNIVERSAL LINKSRun the application on the simulator once to make sure the application is installed and running fine. 2. Keep the same simulator launched and running. Go to your simulator browser and open type the ngrok domain address i.e., https://1bd39880fbad.ngrok.io in my case.

Do universal links work on simulator?

New! Save questions or answers and organize your favorite content. Learn more.


1 Answers

Make sure your Associated Domains are in both entitlement files: "Debug" and "Release". In my case all domains were listed in Entitlement-Debug.plist file but the Entitlement-Release.plist was empty.

After adding them manually to the 'Release' file - app installed via TestFlight started working with Universal Links.

like image 73
radkoncy Avatar answered Oct 26 '22 10:10

radkoncy