App Search API Validation Tool - Universal Links

I'm using this API Validation Tool from Apple and I got 6 of 7 validation PASSED in a specific page but "Universal Links" test got this message:


"The apple-app-site-association file was found but it doesn’t follow the required format. Learn how to format the apple-app-site-association file."


I saw this videos from WWDC 2015 "Seamless linking to your Apps" and "Introducing Search API" and read this App Search Programming Guide.


My website have an SSL certificate (from Authority certified) and my apple-app-site-association is inside https://www.mywebsite.com/apple-app-site-association


This is an example for my apple-app-site-association file:

{

“applinks”: {

“apps”: [],

“details”: {

“TeamId.com.myCompany.myAppName”: {

“paths”: [ “*” ]

}

}

}

}

NOTE: The appName is Case Sensitive.


I don't know what is wrong with the file. Maybe is a syntax error but I can not see it.


Any help will be appreciated.

Answered by Beto_Bens in 48039022

{ "applinks":

      { "apps": [],

        "details": [

             { "appID": "TeamId.com.MyCompany.MyAppName01",

                "paths": [ "*" ] },

             { "appID": "TeamId.com.MyCompany.MyAppName02",

               "paths": [ "*" ]

             }

          ]

       }

}


Believe it or not, I have a problem with doble quotation character. Apparently have an ANSI problem or something like that. Just create a plain ANSI text and fixed.

looks like “details” now takes an array (?)

Accepted Answer

{ "applinks":

      { "apps": [],

        "details": [

             { "appID": "TeamId.com.MyCompany.MyAppName01",

                "paths": [ "*" ] },

             { "appID": "TeamId.com.MyCompany.MyAppName02",

               "paths": [ "*" ]

             }

          ]

       }

}


Believe it or not, I have a problem with doble quotation character. Apparently have an ANSI problem or something like that. Just create a plain ANSI text and fixed.

App Search API Validation Tool - Universal Links
 
 
Q