5

I'm trying to open an App from a Web Page link, it works like a charm on an HTTPS domain, but when I try on a HTTP (unsecure) domain the universal link isn't working.

Anyone know if I'm missing a configuration?.

Thank you!.

Sacrious
  • 61
  • 1
  • 2
  • iOS is blocking http by default. You have add keys to the plist check out this question/answer http://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http – Yan Jan 11 '17 at 22:50
  • This is not the case, Allow Arbitrary Loads worked for App-Web Services communication, but in Universal Links I don't think is used – Sacrious Jan 11 '17 at 23:15
  • You are right. Didn't realize that you are talking about universal link – Yan Jan 12 '17 at 00:03
  • is there any solution ? but apple documentation say, it will works :https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html – Khurshid Ansari Jul 28 '20 at 07:07
  • did u find the sol? – Daniis1infiniteloop Jan 18 '21 at 18:34

1 Answers1

4

If I am understanding correctly, you have an app for which you are enabling Universal Links. When the associated-domain that you are using for Universal Linking is secured by SSL, everything is working properly. When you attempt to use a link domain that is not secured by SSL, however, it is not working.

Assuming I have understood correctly, the issue you are encountering is most likely Apple's requirement that the AASA file be served securely on your link domain. As per Apple's documentation (here: https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html):

After you create the apple-app-site-association file, upload it to the root of your HTTPS web server or to the .well-known subdirectory. The file needs to be accessible via HTTPS—without any redirects—at https:///apple-app-site-association or https:///.well-known/apple-app-site-association. Next, you need to handle universal links in your app.

dwestgate
  • 961
  • 5
  • 12