was trying to create a deep link (Universal linking) in Andriod and iOS. It's working on anroid simulator. However, I'm not able to test it on iOS Simulator or thru test flight.. Here is what i did
Created and hosted valid "apple-app-site-association" (i put it on root of publicly accessible VD). Also verified this file thru https://branch.io/resources/aasa-validator/. All points passed successfully.
Enable associated domain in Entitlement.plist and Added "applinks:","applinks:*." and "applinks:?mode=developer" urls.
Enable Associated Domain for this app under developer.apple.com>account>resources>identifier>
Now for testing - I run the app in iphone simulator (iMac connected to Windows laptop)... added the url in one of the "contact", and hit it... the URL opens in safari browser. It doesn't open the app.
I tried to download app from test flight, the result is still the same.
Any help is appreciated.
Troubleshooting -
- For debugging when i run the app from simulator or download the app on iphone from test flight. During the download it should look for "apple-app-site-association" and on my domain server.... i should see it in iis logs. But it doesn't shown up.
There were some entries in iis for apple-app-site-association file request, but at some different time. seeking the file at the root. So i put this file in .well-known folder an at the root.
I also change my web config to return application/josn content for "." (no extension)
I referred approach from https://www.xamboy.com/2019/01/08/applinks-in-xamarin-forms/
What am i missing here ? Does it should work on TestFlight ? or Simulator ? or directly on production ?
Any help is appreciated.
Further Questions -
- Not sure if this is a domain issue https://mysite.mycompany.com/apple-app-site-association. How to verify ?
- Can i test this on Simulator (iMac) from my windows laptop ?
- Should it be working on test flight ?
- Anything else missing ?
was trying to create a deep link (Universal linking) in Andriod and iOS. It's working on anroid simulator. However, I'm not able to test it on iOS Simulator or thru test flight.. Here is what i did
Created and hosted valid "apple-app-site-association" (i put it on root of publicly accessible VD). Also verified this file thru https://branch.io/resources/aasa-validator/. All points passed successfully.
Enable associated domain in Entitlement.plist and Added "applinks:","applinks:*." and "applinks:?mode=developer" urls.
Enable Associated Domain for this app under developer.apple.com>account>resources>identifier>
Now for testing - I run the app in iphone simulator (iMac connected to Windows laptop)... added the url in one of the "contact", and hit it... the URL opens in safari browser. It doesn't open the app.
I tried to download app from test flight, the result is still the same.
Any help is appreciated.
Troubleshooting -
There were some entries in iis for apple-app-site-association file request, but at some different time. seeking the file at the root. So i put this file in .well-known folder an at the root.
I also change my web config to return application/josn content for "." (no extension)
I referred approach from https://www.xamboy.com/2019/01/08/applinks-in-xamarin-forms/
What am i missing here ? Does it should work on TestFlight ? or Simulator ? or directly on production ?
Any help is appreciated.
Further Questions -