Wechat uses Universal Link after openSDK update 1.8.6

The following urls use HTTPS :www.abcdef.com/ as an example

Configure Unuversal Links when applying for wechat

Universal Links if you don’t have a domain name, you can change it later.

Configuration files in Xcode

Note that Domians here fill in applinks:www.abcdef.com

Info.plist

Create a JSON file

{
    "applinks": {
        "apps": []."details": [{"appID": "TreaamId.Bunldid"."paths": [ "/ *"}]}}Copy the code

AppID is treamid plus BundleID

1 Log in to the background of the developer account, select AppID, and click details to view them

2. Put the above file under the domain name and name the file apple-app-site-association (note that the suffix of the. Json file is removed).

3. To access to domain name, access https:www.abcdef.com/apple-app-site-association can view or download the file to this file

Note To verify the availability of the domain name (s.tool.chinaz.com/ats/?) can be verified

Test the universal Link set up

  1. Enter in Safarihttps:www.abcdef.com/, that is, should pop up such a screen, take wechat for example, wechat ishelp.wechat.comSometimes it might be blank, so you have to pull it down

Configuration is complete

1. WXApi registerApp:wechatAppId universalLink:@” HTTPS :www.abcdef.com/”

2. Think of the link filled in by wechat application

https:www.abcdef.com/

The link of wechat registration in the application is

https:www.abcdef.com/

Domians fill in

applinks:www.abcdef.com

3. If the message “wechat fails due to universal Link verification” is displayed, perform the preceding steps to rectify the fault