Get universal links working

I'm trying to get universal links working for my app but it's becoming painfully frustrating.


I have created my unsigned apple-app-site-association file and uploaded to my web. Therefore, I have run the App Search API Validator (https://search.developer.apple.com/appsearch-validation-tool/) and Universal Links element's status appears as "RECOMMENDED", but I'm not getting any reason why the status isn't "PASSED".


Previously I was getting the following message: "The apple-app-site-association file was found but it doesn't follow the required format.", but not anymore.


The file is not signed but as I read in other posts, it's no longer needed to sign it.

Replies

The "doesn't follow the required format" indicates that the file was invalid, probably invalid JSON. Did you change something in it? What's the domain where it's hosted?

this is beacuse you dont have smart banner enabled OR you do but you didn't supply the app-argument in the meta tag

My website didn't pass Smart App Banner and Deep Links tests, could this be the reason?


These are my results:


Smart App Banner


RECOMMENDED

AppId found but no deepLink was extracted. Learn how to implement Smart App Banners.


Deep Links


ACTION REQUIRED

Could not extract required information for deep links. Learn how to include Smart App Banners,Twitter Cards or Facebook App Links.

I tried to be sure that it was written in plain text and then it stopped giving the message. As I replied to yudi, my website didn't pass Smart App Banner and Deep Links tests, I don't know if that could be a problem.


The domain is "https://www.timp.pro".

I made changes on the website to support the Smart App Banner and now Smart App Banner, Deep Links and Universal Links are passed, though Deep Links shows this message: "All deep links redirect to the same URL.".


Nonetheless, when I enter my website no banner appears and, if I tap a link to my website from a mail in "Mail" app, the app doesn't open despite I did the required changes on the app (added the "applinks" entitlements to the project and added "- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray *restorableObjects))restorationHandler" method to my AppDelegate).

Hi

I am also facing the same issue with the universal link. For me also Deep Links is failing and everything else is successful.

So my question is for implementing universal link do i mandatorily need to implement the smart banners.

This is not documented anywhere so am not sure if i need to implement this or not?

I have posted more details regarding my domain and everything in another question.

https://forums.developer.apple.com/message/110067#110067

Thanks

Avneesh

I am having the same problem. We configured Universal Links and they pass the branch validator, but the apple validator says:


Deep Link


ACTION REQUIRED

Could not extract required information for deep links. Learn how to implement the recommendedUniversal Links.

What’s the name of your site?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I'm having the same problem. I'm testing it on: https://893d9220.ngrok.io

by the time you open it, it's probably going to be dead.

but here is the result of my curl:


* Trying 173.255.197.142...

* Connected to 893d9220.ngrok.io (173.255.197.142) port 443 (#0)

* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

* Server certificate: *.ngrok.io

* Server certificate: RapidSSL SHA256 CA - G3

* Server certificate: GeoTrust Global CA

> GET /apple-app-site-association HTTP/1.1

> Host: 893d9220.ngrok.io

> User-Agent: curl/7.43.0

> Accept: */

>

* HTTP 1.0, assume close after body

< HTTP/1.0 200 OK

< Server: SimpleHTTP/0.6 Python/2.7.10

< Date: Wed, 22 Jun 2016 21:05:05 GMT

< Content-type: application/json

< Content-Length: 211

< Last-Modified: Wed, 22 Jun 2016 21:02:27 GMT

* HTTP/1.0 connection set to keep alive!

< Connection: keep-alive

<

{

"applinks": {

"apps": [],

"details": [

{

"appID": "<prefix>.<bundleid>",

"paths": [ "/ios9" ]

}

]

}

}

* Connection #0 to host 893d9220.ngrok.io left intact

I'm also getting "Could not extract required information for deep links" using the Universal Link validator. What's odd is that it passed when we uploaded the file in April and the file hasn't changed since then...it just stopped validating. And whatever the issue is, appears to break Universal Links on iOS 9 too. Both our app and the validator were working fine as of June 1st.


Website is webprotectme.com. Thank you in advance for your advice.

I have exactly same problem and I have tried all except the sign in of the text file named "apple-app-site-association".

Any help will be appriciated.
Does any one able to find out any way to make it working?

What should I do to resolve this issue? I am not able to pass the validation.

Please help with this issue.

Deep Links


ACTION REQUIRED

Could not extract required information for deep links. Learn how to include Smart App Banners,Twitter Cardsor Facebook App Links.

I haven't been able to. And there's been no response here.

You might try the steps covered here: Troubleshooting Universal Links. If that doesn't work, you could file a technical support incident at developer.apple.com/support/technical. The most common causes are that the Content-Type isn't application/json (for unsigned files), or that your server is trying to redirect the incoming request.


And by all means, please file bugs if you're finding the documentation or the validation tool to not be as helpful as it needs to in order to understand what's not working. Include your specific details about what's happening and how we can improve things.

Double check by doing "curl -v https://your.domain.here/apple-app-site-association" in Terminal to verify that the Content-Type is application/json, and theat you're getting a 200 response as opposed to a redirect. And of course that the file's contents are being returned!