Closed bear-zyy closed 2 years ago
iOS授权登录 没有回调 按文档写的
late StreamSubscription _respSubs = Wechat.instance.respStream().listen(_listenResp); void _listenResp(BaseResp resp) { if (resp is AuthResp) { _authResp = resp; final String content = 'auth: ${resp.errorCode} ${resp.errorMsg}'; _showTips('登录', content); }
}
iOS授权登录 没有回调 按文档写的
late StreamSubscription _respSubs = Wechat.instance.respStream().listen(_listenResp);
void _listenResp(BaseResp resp) {
if (resp is AuthResp) {
_authResp = resp;
final String content = 'auth: ${resp.errorCode} ${resp.errorMsg}';
_showTips('登录', content);
}
}