We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
late final StreamSubscription _respSubs;
void onInit() async { super.onInit(); _respSubs = WechatKitPlatform.instance.respStream().listen(_listenResp); } void _listenResp(WechatResp resp) { print('object--111--'); if (resp is WechatAuthResp) { print('object-2222---'); final String content = 'auth: ${resp.errorCode} ${resp.errorMsg}'; print('登录----$content'); } }
调用bindWechat(){ WechatKitPlatform.instance.auth( scope: [WechatScope.kSNSApiUserInfo], state: 'auth', ); } 但是这个监听没有被调用respStream().listen
The text was updated successfully, but these errors were encountered:
iOS授权不行但是分享可以,安卓都ok的,
Sorry, something went wrong.
No branches or pull requests
late final StreamSubscription _respSubs;
void onInit() async {
super.onInit();
_respSubs = WechatKitPlatform.instance.respStream().listen(_listenResp);
}
void _listenResp(WechatResp resp) {
print('object--111--');
if (resp is WechatAuthResp) {
print('object-2222---');
final String content = 'auth: ${resp.errorCode} ${resp.errorMsg}';
print('登录----$content');
}
}
调用bindWechat(){
WechatKitPlatform.instance.auth(
scope: [WechatScope.kSNSApiUserInfo],
state: 'auth',
);
}
但是这个监听没有被调用respStream().listen
The text was updated successfully, but these errors were encountered: