React-native-wechat: 回调失败了,什么原因啊

Created on 24 Apr 2018  ·  1Comment  ·  Source: yorkie/react-native-wechat

调试模式下报错 Possible Unhandled Promise Rejection WechatError:-6 ........

Most helpful comment

一般报-6,都是apk签名的问题,因为每次你debug的时候安装的安装包的签名都是不一样的。
解决方法很简单,微信有个签名获取工具
https://res.wx.qq.com/open/zh_CN/htmledition/res/dev/download/sdk/Gen_Signature_Android.apk

你下载到手机上,然后获取你的当前这个apk的签名,再到开放平台,修改你的安卓版签名,过几分钟就能生效。
image
@Alvin365

>All comments

一般报-6,都是apk签名的问题,因为每次你debug的时候安装的安装包的签名都是不一样的。
解决方法很简单,微信有个签名获取工具
https://res.wx.qq.com/open/zh_CN/htmledition/res/dev/download/sdk/Gen_Signature_Android.apk

你下载到手机上,然后获取你的当前这个apk的签名,再到开放平台,修改你的安卓版签名,过几分钟就能生效。
image
@Alvin365

Was this page helpful?
0 / 5 - 0 ratings