Flutter iOS 添加微信支持设置

1、info.plist添加:

<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
<string>weixinULAPI</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>

2、在 Xcode 中,选择工程,选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为在微信开放平台注册的APP的APPID。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注