React-native-wechat: sendAuthRequest

Created on 28 Jul 2017  ·  8Comments  ·  Source: yorkie/react-native-wechat

sendAuthRequest,android return errcode=-6

Most helpful comment

@mieszko4 I flow https://github.com/yorkie/react-native-wechat/issues/259.
Just reinstall wechat app, it work!!! 😂

All 8 comments

i got same WechatError

I had this problem on android and I made the error disappear and now log in with wechat works for me:

  1. while on your mobile, go to http://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_open/docs/mobile/downloads#mobile_downloads
  2. download and install Signature Generation Tool (https://res.wx.qq.com/open/zh_CN/htmledition/res/dev/download/sdk/Gen_Signature_Android2.apk)
  3. Enter android package name and generate the signature
  4. Update the signature using wechat admin (field 应用签名 of android)

@mieszko4
image
It did not work for me😢 . but sendAuthRequest work on iOS.

It also does not work for me unless deployed. Try with release version react-native run-android --variant=release or with app downloaded from play store.

@mieszko4 I flow https://github.com/yorkie/react-native-wechat/issues/259.
Just reinstall wechat app, it work!!! 😂

@mieszko4 @MichaelIT I got same error in debug-mode,but it's ok in release

要删微信+release build才可以。

真是奇怪了,把微信删了重新装上就可以了.............

Was this page helpful?
0 / 5 - 0 ratings