From ca693991225c45ee5a34c1c1d15bbf232c87adc2 Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Wed, 5 Aug 2020 05:44:23 +0000 Subject: [PATCH] Automated deployment: Wed Aug 5 05:44:23 UTC 2020 8d8b575b3a911f9a8a0aa6d4131290e3e29e73ab --- globals.html | 10 +++++----- index.html | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/globals.html b/globals.html index e8c3fe8..c6cabd4 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 96fdde3..9703741 100644 --- a/index.html +++ b/index.html @@ -108,6 +108,23 @@ https://uiwjs.github.io
    -canOpenURL: failed for URL: "weixin://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
    +

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

    +
    <key>CFBundleURLTypes</key>
    +<array>
    +  <dict>
    +    <key>CFBundleURLName</key>
    +    <string>weixin</string>
    +    <key>CFBundleURLSchemes</key>
    +    <array>
    +      <string>wx500b695a47bd364b</string>
    +    </array>
    +  </dict>
    +</array>
    +<key>LSApplicationQueriesSchemes</key>
    +<array>
    +  <string>weixin</string>
    +  <string>weixinULAPI</string>
    +</array>
    iOS: RCTBridge required dispatch_sync to load RCTDevLoadingView.