iOS Universal Links and GET parameters

前端 未结 3 1729
耶瑟儿~
耶瑟儿~ 2021-01-04 05:14

we\'re trying to implement app indexing on iOS using the Apple Universal Links (I\'m looking at https://developer.apple.com/library/ios/documentation/General/Conceptual/AppS

3条回答
  •  梦谈多话
    2021-01-04 05:49

    For query parameters appended to a path off of the base domain (i.e. https://www.mywebsite.com/pathOffOfTheBaseDomain?parameter=something) use:

    {
      "applinks": {
        "apps": [],
        "details": [
          {
            "appID": "TEAMID.BUNDLEID",
            "paths":[ "/pathOffOfTheBaseDomain" ]
          }
        ]
      }
    }
    

    According to Apple Universal Link documentation:

    Note that only the path component of the URL is used for comparison. Other components, such as the query string or fragment identifier, are ignored.

    The full URL will be ripe and ready for parsing in AppDelegate's continueUserActivity method.

提交回复
热议问题