-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Description
微信扫码登录,经常。没有收到WechatGotQrcodeResp, 但是等待大量时间后收到WechatFinishResp的登录超时的response
Future<void> _listenQrauthResp(WechatQrauthResp resp) async {
if (kDebugMode) debugPrint('QrauthResp received');
if (resp is WechatGotQrcodeResp) {
_handleGotQrcode(resp);
return;
}
if (resp is WechatQrcodeScannedResp) {
_handleQrcodeScannedResp(resp);
return;
}
if (resp is WechatFinishResp) {
_handleFinishResp(resp);
return;
}
}
Future<void> _listenQrauthResp(WechatQrauthResp resp) async {
if (kDebugMode) debugPrint('QrauthResp received');
if (resp is WechatGotQrcodeResp) {
_handleGotQrcode(resp);
return;
}
if (resp is WechatQrcodeScannedResp) {
_handleQrcodeScannedResp(resp);
return;
}
if (resp is WechatFinishResp) {
_handleFinishResp(resp);
return;
}
}
Metadata
Metadata
Assignees
Labels
No labels