- 小程序冷启动App,handleOpenURL返回YES,但是onReq不执行
点击小程序里打开App按钮,唤醒app(冷启动)。 会执行这个系统方法 - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options 微信SDK的这个方法返回YES [图片] 但是onReq代理未执行 [图片] 另外App在后台的时候onReq是会执行的。 搜索了一下这个问题,基本都没有明确的回复或解答。 这个是bug,还是设计本身就是这样的。 友盟可以做到小程序冷热启动都可以接受到传过来的参数!!!Ta是怎么办到的?合作关系有特殊的权限吗?
2020-07-01 - iOS14universalLinks跳应用,handleOpenURL返回NO且不执行onReq?
appid wx46e81ba80879228e SDK版本是1.8.7.1 app的universal links 都配置正常, iOS14之前可以handleOpenURL返回YES,且回调- (void)onReq:(BaseReq*)reqonReq, iOS14后handleOpenURL结果为NO,且不回调- (void)onReq:(BaseReq*)reqonReq, 麻烦看一下 2020-12-09 13:34:28.450729+0800 Honda Connect[1031:317216] [Storyboard] Unknown class ViewController in Interface Builder file. 2020-12-09 13:34:29.237713+0800 Honda Connect[1031:317450] 检查: 0, 1, check passed, 2020-12-09 13:34:29.237947+0800 Honda Connect[1031:317450] 检查: 1, 1, check passed, 2020-12-09 13:34:29.288788+0800 Honda Connect[1031:317442] 检查: 2, 1, check passed, 2020-12-09 13:34:29.389064+0800 Honda Connect[1031:317442] WeChatSDK: wxlog:set property list 2020-12-09 13:34:29.401393+0800 Honda Connect[1031:317442] 检查: 3, 1, check passed, 2020-12-09 13:34:29.418909+0800 Honda Connect[1031:317454] [Client] Updating selectors after delegate removal failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 87 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 87 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.} 2020-12-09 13:34:29.502026+0800 Honda Connect[1031:317464] WeChatSDK: wxlog:launch app with ul only success 2020-12-09 13:34:29.502285+0800 Honda Connect[1031:317464] 检查: 4, 1, check passed, 2020-12-09 13:34:29.502377+0800 Honda Connect[1031:317464] WeChatSDK: wxlog:Successfully starting WeChat with the universal link. 2020-12-09 13:34:29.595509+0800 Honda Connect[1031:317505] [connection] nw_connection_copy_connected_path [C2] Client called nw_connection_copy_connected_path on unconnected nw_connection 2020-12-09 13:34:29.595563+0800 Honda Connect[1031:317505] [] tcp_connection_is_cellular No connected path 2020-12-09 13:34:29.610770+0800 Honda Connect[1031:317442] PBItemCollectionServicer connection disconnected. 2020-12-09 13:34:29.745669+0800 Honda Connect[1031:317505] [connection] nw_connection_copy_connected_path [C3] Client called nw_connection_copy_connected_path on unconnected nw_connection 2020-12-09 13:34:29.745706+0800 Honda Connect[1031:317505] [] tcp_connection_is_cellular No connected path 2020-12-09 13:34:29.816873+0800 Honda Connect[1031:317470] [] nehelper sent invalid result code [1] for Wi-Fi information request 2020-12-09 13:34:35.730881+0800 Honda Connect[1031:317450] -[AppDelegate application:continueUserActivity:restorationHandler:] 2020-12-09 13:34:37.610817+0800 Honda Connect[1031:317464] { } 2020-12-09 13:34:37.611132+0800 Honda Connect[1031:317464] 检查: 5, 1, Universal Link check passed. The application is launched by WeChat via Universal Link, 2020-12-09 13:34:37.611688+0800 Honda Connect[1031:317454] WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ] 2020-12-09 13:34:37.612203+0800 Honda Connect[1031:317450] 检查: 6, 1, All Check Passed!, 2020-12-09 13:34:37.612824+0800 Honda Connect[1031:317454] WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ] 2020-12-09 13:34:37.613563+0800 Honda Connect[1031:317450] ret3:1 2020-12-09 13:34:37.730153+0800 Honda Connect[1031:317450] [] nehelper sent invalid result code [1] for Wi-Fi information request 2020-12-09 13:35:08.433352+0800 Honda Connect[1031:317680] -[AppDelegate application:openURL:options:] 2020-12-09 13:35:08.453338+0800 Honda Connect[1031:317442] WeChatSDK: wxlog:Error:pasteData[(null)] is empty 2020-12-09 13:35:08.453687+0800 Honda Connect[1031:317680] WeChatSDK: wxlog:Error:pasteDictionary is nil 2020-12-09 13:35:08.453905+0800 Honda Connect[1031:317442] WeChatSDK: wxlog:Error:dict is nil 2020-12-09 13:35:08.454235+0800 Honda Connect[1031:317680] WeChatSDK: wxlog:appdata is nil, url:wx46e81ba80879228e://platformId=wechat 2020-12-09 13:35:08.454942+0800 Honda Connect[1031:317680] ret4:0 2020-12-09 13:35:08.464910+0800 Honda Connect[1031:317216] [BackgroundTask] Background Task 2 ("Called by Honda Connect, from -[AppDelegate applicationDidEnterBackground:]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this. 2020-12-09 13:35:08.999741+0800 Honda Connect[1031:317505] [connection] nw_connection_copy_connected_path [C6] Client called nw_connection_copy_connected_path on unconnected nw_connection 2020-12-09 13:35:09.000034+0800 Honda Connect[1031:317505] [] tcp_connection_is_cellular No connected path 2020-12-09 13:35:09.584782+0800 Honda Connect[1031:317442] [] nehelper sent invalid result code [1] for Wi-Fi information request [图片]
2020-12-10