Universal Link is not working on properly on iOS 13 (AASA not downloaded)

后端 未结 5 888
时光说笑
时光说笑 2021-01-30 18:18

Universal Link was working fine on iOS 12 but I ran into issues when I updated to iOS 13.1 yesterday. URLs that\'s supposed to open the app when tapped are just opening up in th

5条回答
  •  长情又很酷
    2021-01-30 19:03

    It seems for ios13, the apple-site-app-association as a new format

    {
      "applinks": {
          "details": [
               {
                 "appIDs": [ "ABCDE12345.com.example.app", "ABCDE12345.com.example.app2" ],
                 "components": [
                   {
                      "#": "no_universal_links",
                      "exclude": true,
                      "comment": "Matches any URL whose fragment equals no_universal_links and instructs the system not to open it as a universal link"
                   },
                   {
                      "/": "/buy/*",
                      "comment": "Matches any URL whose path starts with /buy/"
                   },
                   {
                      "/": "/help/website/*",
                      "exclude": true,
                      "comment": "Matches any URL whose path starts with /help/website/ and instructs the system not to open it as a universal link"
                   }
                   {
                      "/": "/help/*",
                      "?": { "articleNumber": "????" },
                      "comment": "Matches any URL whose path starts with /help/ and which has a query item with name 'articleNumber' and a value of exactly 4 characters"
                   }
                 ]
               }
           ]
       },
       "webcredentials": {
          "apps": [ "ABCDE12345.com.example.app" ]
       }
    }
    

提交回复
热议问题