xu-li / cordova-plugin-wechat

A cordova plugin, a JS version of Wechat SDK
1.22k stars 509 forks source link

ios微信授权页是白页 #392

Closed buhairong closed 6 years ago

buhairong commented 6 years ago

安卓已经运行良好。

IOS环境下: 使用 Wechat.isInstalled(function (installed) { alert("Wechat installed: " + (installed ? "Yes" : "No")); }, function (reason) { alert("Failed: " + reason); }); 打印出Wechat installed:yes

使用 var scope = "snsapiuserinfo", state = "" + (+new Date()); Wechat.auth(scope, state, function (response) { // you may use response.code to get the access token. alert(JSON.stringify(response)); }, function (reason) { alert("Failed: " + reason); }); 未打印任何东西。 进入白页,点击白页左上角取消后,进入微信APP页面。

请问是什么问题导致的呢?该如何解决呢?麻烦您了,谢谢!

buhairong commented 6 years ago

已解决