- 微信SDK1.8.6回调为什么不走continueUserActivity,而走sourceAppl
更新了新版本的微信SDK,注册使用的方法也都换成了 + (BOOL)registerApp:(NSString *)appid universalLink:(NSString *)universalLink; 但是为什么在从微信分享、支付、登录成功后跳转回app的时候不走 - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler 这个方法,而走 - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url sourceApplication:(nullable NSString *)sourceApplication annotation:(nonnull id)annotation app内部调用支付、分享、登录都可以正常进行,就是回调方法这块有点不明白,是微信SDK内部做了什么出了操作,还是SDK配置有问题?从浏览器、备忘录点击链接可以直接跳转到app。
2019-09-27 - 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. 以下页面是授权登录吊起的页面 是否正确? [图片]
2019-10-15