我遇到和同样的问题,目前已解决:https://developers.weixin.qq.com/community/develop/doc/00062412e00e4878f8290f35457801?jumpto=comment&commentid=000c8650d84500825df9cef13514
IOS SDK 1.8.6.1 SendAuthReq 调用之后 onResp 没有被 调用?回调的 onResp 是不是 已经 不会被调用了? 如果是这样的话 SendAuthResp 返回的信息 怎么 提取? 目前是 completion 的 回调中 已经返回了 true 但是 onResp 没有 被调用 SDK1.8.6.1 IOS 12 微信 7.0.7 wxlog:send req[<SendAuthReq: 0x2815c4060>],sendauthreq: x2815c4060="">appID:*********, universalLink:********* sdkVersion:1.8.6.1/sendauthreq:> wxlog:set property list wxlog:Error:fail to load Keychain status:-25300, keyData null:1 wxlog:Error:token[(null)] is null wxlog:launch app with ul only success wxlog:launch app with universal link, ret:1 截取 微信 log 会出 上面 内容 ———— 2019-09-29 11:43:40 今天测试 发现 日志发生了变化, [代码]2019-09-29 11:22:47.663866+0800 HappyFish[1620:901845] > change into print log by other block[代码][代码]2019-09-29 11:22:47.665361+0800 HappyFish[1620:901845] > wxlog:send req[<SendAuthReq: 0x280b39770>], appID:***, universalLink:*****, sdkVersion:1.8.6.1[代码][代码]2019-09-29 11:22:47.669306+0800 HappyFish[1620:901845] > wxlog:set property list[代码][代码]2019-09-29 11:22:47.850841+0800 HappyFish[1620:901845] > wxlog:launch app with ul only success[代码][代码]2019-09-29 11:22:47.876445+0800 HappyFish[1620:901845] > wxlog:launch app with universal link, ret:1[代码][代码]2019-09-29 11:22:47.876575+0800 HappyFish[1620:901845] > wxlog:req:<SendAuthReq: 0x280b39770>, cid:dd42d5b3c6a0b65e35956d83def2b18e6e787e32[代码] 但是 complete 照样 返回 true, onResp 照样 没有 被调用 complete 的 回调 设定为 nil 也没有变化 ———— 2019-10-08 14 使用 7.0.8 发现 有时候 会成功 但是 走的 流程 不是 - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler; 而是 - (BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation 这时候 成功 进入 onResp 成功的情况, 删包 重新xcode 调试,继续 进入 失败的 状态
2020-02-24我遇到和同样的问题,目前已解决:https://developers.weixin.qq.com/community/develop/doc/00062412e00e4878f8290f35457801?jumpto=comment&commentid=000c8650d84500825df9cef13514
ios sdk 1.8.6.1 授权登录没有回调 onResp ?IOS SDK 1.8.6.1 SendAuthReq 调用之后 如果是确定授权 onResp 会被正常吊起,正常回调 APP。 问题 1. 如果是取消(拒绝授权) onResp 没有被 调用?并且就停留在微信页面,不回调 APP 问题 2. app 被回调走的 openurl 方法不是 link 方法 (link 已经配置) 问题 3 请确认吊起的页面是否正确 问题 4 apple-app-site-association文件是否正确? { "applinks": { "apps": [], "details": [ { "appID": "******.com.goockr.********",(可以确保是 teamid.bundleid) "paths": [ "*" ] } ] } } 环境 微信 7.0.8 ios 13.1.1 微信 appid wxf54b36ad0a35ce54 打印日志 2019-10-15 14:50:18.542662+0800 GoockrCharging[509:45639] wxlog : wxlog:send req[<SendAuthReq: 0x28255d890>], appID:wxf54b36ad0a35ce54, universalLink:https://chhp.goockr.com/, sdkVersion:1.8.6.1 2019-10-15 14:50:18.563918+0800 GoockrCharging[509:45639] wxlog : wxlog:set property list 2019-10-15 14:50:18.596720+0800 GoockrCharging[509:45639] wxlog : wxlog:Error:fail to load Keychain status:-25300, keyData null:1 2019-10-15 14:50:18.596814+0800 GoockrCharging[509:45639] wxlog : wxlog:Error:token[(null)] is null 2019-10-15 14:50:18.629768+0800 GoockrCharging[509:45639] wxlog : wxlog:launch app with ul only success 2019-10-15 14:50:18.629883+0800 GoockrCharging[509:45639] wxlog : wxlog:launch app with universal link, ret:1 2019-10-15 14:50:18.629944+0800 GoockrCharging[509:45639] wxlog : wxlog:req:<SendAuthReq: 0x28255d890>, cid:c3dd703a982028a5a3115d55e707118bbc9d2522 2019-10-15 14:50:18.796704+0800 GoockrCharging[509:46989] PBItemCollectionServicer connection disconnected. 2019-10-15 14:50:19.463485+0800 GoockrCharging[509:45639] Can't end BackgroundTask: no background task exists with identifier 6 (0x6), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug. 以下页面是授权登录吊起的页面 是否正确? [图片]
2020-02-24