Apple App Site association not working

app-site-association, ios-universal-links

Solution

Apple's API validation tool compares your website's association file to a store listing. If your app is not yet publicly available the error you listed will be displayed.

Your apple-app-site-association has a small typo where you specify the details (it should be an array). I also assume you're replacing the XXXX's with your app ID.

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "APPID.BUNDLEID",
                "paths": [ "*" ]
            }
        ]
    }
}

Even if you get this error from Apple's validation tool, you can test Universal links. If your Universal Link does not work on your test device you need to inspect the device logs when you fresh install it and make sure your `apple-app-site-association` is available at the root of your site via https with no redirects. Sometimes there is issue if the content-type is not application/json (but the file name should remain exactly `apple-app-site-association`).

Problem

App Search API Validation Tool of "Apple" is not validating my domain. https://search.developer.apple.com/appsearch-validation-tool I am using universal links but "Link to Application" is showing me "Error".(http://www.awesomescreenshot.com/image/1719847/330979a43c4c6b2766da1e703447ee04) Here is my "apple-app-site-association" file code. ` {"applinks": {"apps": [],"details": {"XXXXXXXXXX.com.streatmanagement.threadshare": {"paths": ["*"]}}}} ` Can someone please solve my query or send the sample of "apple-app-site-association" valid code?

Original source