在有问题的设备上也尝试了自检函数,并没有出现问题
部分用户分享内容跳转至微信之后出现 "正在连接" 字样后又跳回了 iOS APP,如何解决?当前 iOS APP 接入的是 2.0.2 的 xcframework 形式的 SDK 由于只是部分用户出现没有办法分享的问题,而且根据日志回捞的结果来说 sdk 的 WXApi 的 send 的 callback 的结果是 success,但跳转到微信后整个分享的流程却没有走下去,以下是部分出问题的用户的分享日志,希望得到相关支持. [WeChatIdentityHandler.mm]-[WeChatIdentityHandler setContextReq:contextId:]WXLog:req:<SendMessageToWXReq: 0x283f75200>, cid:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [WXApi.m]+[WXApi handleOpenURL:delegate:]WXLog:Error:handle open url fail, url is nil [WXApi.m]+[WXApi launchApplicationWithUrl:completion:]_block_invokeWXLog:launch app with ul only success [WXApi.m]+[WXApi launchWechatWithExtralUrl:forceScheme:contextId:paramsDataStr:unnecessaryDataErased:completion:]_block_invokeWXLog:launch app with universal link, ret:1 [WeChatIdentityHandler.mm]+[WeChatIdentityHandler loadTokenFromKeychain]WXLog:Error:fail to load Keychain status:-25300, keyData null:1 [WeChatIdentityHandler.mm]+[WeChatIdentityHandler loadTokenFromKeychain]WXLog:token[(null)] is null [WeChatShareUrlCheckHandler.m]+[WeChatShareUrlCheckHandler startCheckWithShareUrlCheckTask:]WXLog:[checkUrl] not in list, try request async [WeChatShareUrlCheckHandler.m]-[WeChatShareUrlCheckTask continueShareTask]WXLog:continue share, appid=xxxxxxxxxxx, url=https://m.example.com/agent/?agentId=71539264797290496 [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:gen url with full params ok [WeChatShareUrlCheckHandler.m]-[WechatShareUrlCheckConfigRecord initWithParamDictionary:]WXLog:[checkUrl] init record with dict: { [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:send req[<SendMessageToWXReq: 0x283f75200>], appID:xxxxxxxxxxx, universalLink:https://example.com/, sdkVersion:2.0.2 [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:send req transformToUrl data len:13564, erased:0 [WeChatIdentityHandler.mm]-[WeChatIdentityHandler setContextReq:contextId:]WXLog:req:<SendMessageToWXReq: 0x283f7f800>, cid:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [WXApi.m]+[WXApi handleOpenURL:delegate:]WXLog:Error:handle open url fail, url is nil [WXApi.m]+[WXApi launchApplicationWithUrl:completion:]_block_invokeWXLog:launch app with ul only success [WXApi.m]+[WXApi launchWechatWithExtralUrl:forceScheme:contextId:paramsDataStr:unnecessaryDataErased:completion:]_block_invokeWXLog:launch app with universal link, ret:1 [WeChatIdentityHandler.mm]+[WeChatIdentityHandler loadTokenFromKeychain]WXLog:Error:fail to load Keychain status:-25300, keyData null:1 [WeChatIdentityHandler.mm]+[WeChatIdentityHandler loadTokenFromKeychain]WXLog:token[(null)] is null [WeChatShareUrlCheckHandler.m]+[WeChatShareUrlCheckHandler startCheckWithShareUrlCheckTask:]WXLog:[checkUrl] not in list, try request async [WeChatShareUrlCheckHandler.m]-[WeChatShareUrlCheckTask continueShareTask]WXLog:continue share, appid=xxxxxxxxxxx, url=https://m.example.com/share-url-sample [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:gen url with full params ok [WeChatShareUrlCheckHandler.m]-[WechatShareUrlCheckConfigRecord initWithParamDictionary:]WXLog:[checkUrl] init record with dict: { [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:send req[<SendMessageToWXReq: 0x283f7f800>], appID:xxxxxxxxxxx, universalLink:https://example.com/, sdkVersion:2.0.2 [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:send req transformToUrl data len:13564, erased:0 [WXApi.m]+[WXApi handleOpenURL:delegate:]WXLog:Error:handle open url fail, url is nil [WXApi.m]+[WXApi handleOpenURL:delegate:]WXLog:Error:handle open url fail, url is nil [WeChatShareUrlCheckHandler.m]-[WechatShareUrlCheckConfigRecord initWithParamDictionary:]WXLog:[checkUrl] init record with dict: { [WeChatShareUrlCheckHandler.m]-[WeChatShareUrlCheckTask isRecordValid:]WXLog:[checkUrl] record valid [WeChatIdentityHandler.mm]-[WeChatIdentityHandler setContextReq:contextId:]WXLog:req:<SendMessageToWXReq: 0x283fa7a80>, cid:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [WeChatShareUrlCheckHandler.m]+[WeChatShareUrlCheckHandler requestURLRuleWithTask:isAsync:]_block_invoke_2WXLog:[checkUrl] get dict from resp, dict: { [WXApi.m]+[WXApi launchApplicationWithUrl:completion:]_block_invokeWXLog:launch app with ul only success [WXApi.m]+[WXApi launchWechatWithExtralUrl:forceScheme:contextId:paramsDataStr:unnecessaryDataErased:completion:]_block_invokeWXLog:launch app with universal link, ret:1 [WeChatIdentityHandler.mm]+[WeChatIdentityHandler loadTokenFromKeychain]WXLog:Error:fail to load Keychain status:-25300, keyData null:1 [WeChatIdentityHandler.mm]+[WeChatIdentityHandler loadTokenFromKeychain]WXLog:token[(null)] is null [WeChatShareUrlCheckHandler.m]+[WeChatShareUrlCheckHandler startCheckWithShareUrlCheckTask:]WXLog:[checkUrl]no local data, try request async [WeChatShareUrlCheckHandler.m]-[WeChatShareUrlCheckTask continueShareTask]WXLog:continue share, appid=xxxxxxxxxxx, url=https://m.example.com/call-app/ [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:send req transformToUrl data len:7460, erased:0 [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:gen url with full params ok [WXApi.m]+[WXApi registerApp:universalLink:]WXLog:using sdk:xcframework-iphone-arm64 [WXApi.m]+[WXApi sendReq:isAutoResend:forceScheme:completion:]WXLog:send req[<SendMessageToWXReq: 0x283fa7a80>], appID:xxxxxxxxxxx, universalLink:https://example.com/, sdkVersion:2.0.2
04-23