Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capacitor can't get any response from Wechat.auth() #604

Open
ngochiep30051998 opened this issue Dec 13, 2021 · 4 comments
Open

Capacitor can't get any response from Wechat.auth() #604

ngochiep30051998 opened this issue Dec 13, 2021 · 4 comments

Comments

@ngochiep30051998
Copy link

ngochiep30051998 commented Dec 13, 2021

I migrate my app from cordova to capacitor. App redirected to native Wechat app, but I can't get a response for both Android and iOS. Please give me solution to solve this problem. Thanks.
Here is my code:
const scope = 'snsapi_userinfo';
const state = '_' + (+new Date());
Wechat.auth((response: any) => { console.log(response) }, (err: any) => { console.log(err) })

  • plugin version:
    "cordova-plugin-wechat": "^2.9.0"
@lijianyu1985
Copy link

I have this error two, did you fix it?

@ngochiep30051998
Copy link
Author

I still can't fix it.

@yunter
Copy link

yunter commented Feb 10, 2022

wehcat reponse success, callback error: [Common] Snapshot request 0x283b50120 complete with error: <NSError: 0x283b415c0; domain: BSActionErrorDomain; code: 6>

ionic react v6
plugin version:
"cordova-plugin-wechat": "^3.0.0"

@Ong26
Copy link

Ong26 commented Mar 21, 2022

Error still exists for ionic angular v6.
"cordova-plugin-wechat": "^3.0.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants