- iOS 第三方使用微信登陆返回了用户信息,应该登陆成功但是onResp返回NO?
您好,我们iOS应用使用微信登陆,登陆失败。 这是我们工程师发的反馈:In WeChat documentation it was described as The third-party app calls this function, switches to WeChat interface and waits for onResp returned from WeChat. WeChat must calls onResp after the asynchronous processing. Possible requests include SendMessageToWXReq, etc. which returns Yes (success) or No (failure) . So as we understand this method must return NO only in case of failure, but in reality it returns NO and successfully logged in to WeChat. That is the reason we face this issue. SendAuthReq *req = [[SendAuthReq alloc] init]; req.scope = @"snsapi_userinfo"; if (![WXApi sendReq:req]) { [self callAuthCompletionWithResult:nil withError:[self generateAuthorizationError] isCancelled:NO]; }
2020-03-04 - App微信登陆请求无回复?
我们收到很多用户反馈,微信无法登陆。我们查了一下,是因为有时候请求微信的时候没有response。 可以提供一下建议吗?为什么会有这个问题,怎么解决?
2020-02-12