phone gap集成微信支付报如下错误:
-canOpenURL: failed for URL: "weixin://app/wxff569f16175592XX/" - error: "This app is not allowed to query for scheme weixin"
http://segmentfault.com/q/1010000003741815?_ea=357801
提示信息为:您的设备没有安装微信
解决方法:
在info.plist中添加如下字段
<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
<string>wechat</string>
</array>
效果如图