From 1a6e1beced6466f6b88fc400f8b3c32c5baa7482 Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Sun, 9 Aug 2020 00:51:56 +0000 Subject: [PATCH] Automated deployment: Sun Aug 9 00:51:56 UTC 2020 4378b7c486af20f7afc504518d5a3241e667f702 --- globals.html | 10 +++++----- index.html | 9 ++++++--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/globals.html b/globals.html index 3fa4d53..06279b4 100644 --- a/globals.html +++ b/globals.html @@ -90,7 +90,7 @@
  • @@ -112,7 +112,7 @@
  • @@ -135,7 +135,7 @@
  • @@ -158,7 +158,7 @@
  • @@ -180,7 +180,7 @@
  • diff --git a/index.html b/index.html index e3224da..122fe65 100644 --- a/index.html +++ b/index.html @@ -93,14 +93,16 @@ } }

    说明: 字段 appID 中的 968DSZ49MT 表示苹果账号的团队 IDcom.uiwjs.react.example.wechat 表示项目的 BundleID

    -
    <Application Identifier Prefix>.<Bundle Identifier>

    上传该文件到你的域名所对应的根目录xxx目录下,apple-app-site-association 文件不需要扩展名。

    +
    <Application Identifier Prefix>.<Bundle Identifier>
    +

    上传该文件到你的域名所对应的根目录xxx目录下,apple-app-site-association 文件不需要扩展名。

    注意: 苹果提供了一个网页来验证我们编写的这个 apple-app-site-association 是否合法有效。

    https://<fully qualified domain>/.well-known/apple-app-site-association
     根目录
     https://uiwjs.github.io/apple-app-site-association
     
     xxx目录
    -https://uiwjs.github.io/react-native-wechat/apple-app-site-association

    打开 Associated Domains 开关,将 Universal Links 域名加到配置上,如果 URL 地址是 https://uiwjs.github.io/apple-app-site-association,那么, +https://uiwjs.github.io/react-native-wechat/apple-app-site-association +

    打开 Associated Domains 开关,将 Universal Links 域名加到配置上,如果 URL 地址是 https://uiwjs.github.io/apple-app-site-association,那么, Associated Domains 中填写 applinks: uiwjs.github.io

    登录苹果开发者后台,在设置证书的页面找到 Identifiers 里,在对应的 BundleId 下勾选 Associated Domains

    @@ -109,7 +111,8 @@ https://uiwjs.github.io
    -
    -canOpenURL: failed for URL: "weixin://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
    +
    -canOpenURL: failed for URL: "weixin://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
    +

    设置 URL Schemes 并列为白名单,在 ios/<应用名称>/Info.plist 中添加

    <key>CFBundleURLTypes</key>
     <array>