后面发现了问题,运营那边修改的微信开放平台appid不是和应用内一致
Universal Link验证不通过?https://search.developer.apple.com/appsearch-validation-tool/验证通过 safari浏览器网址测试跳转通过,备忘录跳转测试通过 Associated Domains权限打开且添加域名,格式为:applinks:xxx.xxxx.com能进 continueUserActivity 回调 配置文件位置正确,文件名正确,teamID和bundleID与微信平台一致{ "applinks": { "apps": [], "details": [ { "appID": "XXXXXXX.com.cocos2d.mengcheng1", "paths": [ "*" ] } ] } } 代码注册appID、universalLink与微信平台一致 时间:2020-10-23 10:48:37微信号:wxid_erl4jpersvpp22微信版本:7.0.12.51(已上传日志)appid:wxb1b97d97d47275d02020-10-23 10:48:37.283553+0800 mengcheng-mobile[1109:175875] id get succes 2020-10-23 10:48:37.481464+0800 mengcheng-mobile[1109:175875] (null) 2020-10-23 10:48:37.482638+0800 mengcheng-mobile[1109:175875] 0, success:1, errorInfo:check passed, suggestion: 2020-10-23 10:48:37.482875+0800 mengcheng-mobile[1109:175875] 1, success:1, errorInfo:check passed, suggestion: 2020-10-23 10:48:37.484576+0800 mengcheng-mobile[1109:175875] 2, success:1, errorInfo:check passed, suggestion: 2020-10-23 10:48:37.500471+0800 mengcheng-mobile[1109:175875] WeChatSDK: wxlog:set property list 2020-10-23 10:48:37.517019+0800 mengcheng-mobile[1109:175875] 3, success:1, errorInfo:check passed, suggestion: 2020-10-23 10:48:37.535120+0800 mengcheng-mobile[1109:175875] Metal GPU Frame Capture Enabled 2020-10-23 10:48:37.536350+0800 mengcheng-mobile[1109:175875] Metal API Validation Enabled Initializing V8, version: 7.5.288.22 libuv version: 1.23.1-dev Debugger listening..., visit [ chrome-devtools://devtools/bundled/js_app.html?v8only=true&ws=0.0.0.0:6086/00010002-0003-4004-8005-000600070008 ] in chrome browser to debug! For help see https://nodejs.org/en/docs/inspector 2020-10-23 10:48:37.957280+0800 mengcheng-mobile[1109:175895] PBItemCollectionServicer connection disconnected. 2020-10-23 10:48:38.528806+0800 mengcheng-mobile[1109:175875] WeChatSDK: wxlog:launch app with ul only success 2020-10-23 10:48:38.528915+0800 mengcheng-mobile[1109:175875] 4, success:1, errorInfo:check passed, suggestion: 2020-10-23 10:48:38.528948+0800 mengcheng-mobile[1109:175875] WeChatSDK: wxlog:Successfully starting WeChat with the universal link. D/renderer (616): Device caps: maxVextexTextures: 16, maxFragUniforms: 224, maxTextureUints: 16, maxVertexAttributes: 16, maxDrawBuffers: 1, maxColorAttatchments: 1 2020-10-23 10:48:38.730098+0800 mengcheng-mobile[1109:175875] Can't end BackgroundTask: no background task exists with identifier 2 (0x2), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug. 2020-10-23 10:49:14.790533+0800 mengcheng-mobile[1109:175875] continueUserActivity : https://game.mzcco.com/wxb1b97d97d47275d0/ 2020-10-23 10:49:14.790674+0800 mengcheng-mobile[1109:175875] WeChatSDK: wxlog:Error:universal link check enable but contextId is error., contextID:(null) 2020-10-23 10:49:14.805572+0800 mengcheng-mobile[1109:175875] WeChatSDK: 2020-10-23 10:49:14.813906+0800 mengcheng-mobile[1109:175875] WeChatSDK: wxlog:command:2020
2020-11-05请问解决了吗
由于应用universal link校验不通过,无法完成登录WeChatSDK: wxlog:send req[<SendMessageToWXReq: 0x2810dce00>], appID:xxxxxxxx, universalLink:https://xxxxxx.com/, sdkVersion:1.8.6.1 WeChatSDK: wxlog:set property list WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1 WeChatSDK: wxlog:Error:token[(null)] is null WeChatSDK: wxlog:launch app with ul only success WeChatSDK: wxlog:launch app with universal link, ret:1 WeChatSDK: wxlog:req:<SendMessageToWXReq: 0x2810dce00>, cid:0f9c5aed979ba6469be5896e389726619938effe 以上是log,已经自查过很多遍,配置的universal link在开放平台和代码中是一致的,universal link在Safari中能打开并且顶部有打开APP的,在备忘录中也可以打开APP,Xcode的associated domains也配置了,appdelegate中的continueUserActivity也重载了,从微信回来也走了这个回调,但是就是还是提示校验不通过,无法登陆,无法分享。[图片] 日志已上报,微信号:gk625730 时间:2020-4-28 14:30
2020-10-24