diff --git a/globals.html b/globals.html index e8c3fe8..c6cabd4 100644 --- a/globals.html +++ b/globals.html @@ -90,7 +90,7 @@
-canOpenURL: failed for URL: "weixin://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
设置 URL Schemes 并列为白名单,在 ios/<应用名称>/Info.plist 中添加
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>
设置 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.