swift 唤起功能

发布时间:2022-04-22 20:38:55

1.进行apple developer --> Certificates, Identifiers & Profiles -->Identifiers-->点击需要设置的项目

2.

    1.点击项目

    2.点击新增 添加Associated Domains

    3.添加域名

3.在网站中添加.well-known目录 再创建配置文件,json格式不需要后缀名 名称apple-app-site-association 并上传到.well-known目录中

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "团队ID.软件BundleID",
                "paths": [ "限制的域名"]
            }
        ]
    }
}



3.将有效的链接填写到安装有对应app手机的备忘录中,然后长安链接进行测试。如果没有出现,就将app重装下。






Card image cap
APP STORE
Card image cap
应用宝
Card image cap
小米
Card image cap
华为