收藏
回答

iOS Extension(键盘) 调用分享表情 微信显示"应用安全校验不通过, 无法使用此功能"?

环境: 1.8.7.1

现象: 直接在APP里面分享 是好的, 如果是通过Extension拉起的分享 会报"应用安全校验不通过, 无法使用此功能"

自检App Log:

2021-03-31 20:34:24.466954+0800 键多多输入法[20738:2247587] >>>>>>>>> register yes

2021-03-31 20:34:24.467031+0800 键多多输入法[20738:2247587] >>>>>>>>> checkUniversalLinkReady:0 1 check passed

2021-03-31 20:34:24.467154+0800 键多多输入法[20738:2247587] >>>>>>>>> checkUniversalLinkReady:1 1 check passed

2021-03-31 20:34:24.469777+0800 键多多输入法[20738:2247587] >>>>>>>>> checkUniversalLinkReady:2 1 check passed

2021-03-31 20:34:24.479691+0800 键多多输入法[20738:2247587] >>>>>>>>> wxShareLog: wxlog:set property list

2021-03-31 20:34:24.494046+0800 键多多输入法[20738:2247587] >>>>>>>>> checkUniversalLinkReady:3 1 check passed

2021-03-31 20:34:26.004357+0800 键多多输入法[20738:2247587] >>>>>>>>> wxShareLog: wxlog:launch app with ul only success

2021-03-31 20:34:26.004386+0800 键多多输入法[20738:2247587] >>>>>>>>> checkUniversalLinkReady:4 1 check passed

2021-03-31 20:34:26.004408+0800 键多多输入法[20738:2247587] >>>>>>>>> wxShareLog: wxlog:Successfully starting WeChat with the universal link.

2021-03-31 20:34:27.761690+0800 键多多输入法[20738:2247587] >>>>>>>>>+ continueUserActivity

2021-03-31 20:34:27.761799+0800 键多多输入法[20738:2247587] >>>>>>>>> checkUniversalLinkReady:5 1 Universal Link check passed. The application is launched by WeChat via Universal Link

2021-03-31 20:34:27.761835+0800 键多多输入法[20738:2247587] >>>>>>>>> wxShareLog: wxlog:WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ]

2021-03-31 20:34:27.761858+0800 键多多输入法[20738:2247587] >>>>>>>>> checkUniversalLinkReady:6 1 All Check Passed!

2021-03-31 20:34:27.761887+0800 键多多输入法[20738:2247587] >>>>>>>>> wxShareLog: wxlog:WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ]

自检Extension Log:

2021-03-31 20:23:54.340632+0800 keyboard[20721:2241720] >>>>>>>>> register yes

2021-03-31 20:23:54.340736+0800 keyboard[20721:2241720] >>>>>>>>> checkUniversalLinkReady:0 1 check passed

2021-03-31 20:23:54.340853+0800 keyboard[20721:2241720] >>>>>>>>> checkUniversalLinkReady:1 1 check passed

2021-03-31 20:23:54.344578+0800 keyboard[20721:2241720] >>>>>>>>> checkUniversalLinkReady:2 1 check passed

2021-03-31 20:23:54.346910+0800 keyboard[20721:2241720] >>>>>>>>> wxShareLog: wxlog:set property list

2021-03-31 20:23:54.357782+0800 keyboard[20721:2241720] >>>>>>>>> checkUniversalLinkReady:3 1 check passed

2021-03-31 20:23:58.003267+0800 keyboard[20721:2241720] >>>>>>>>> wxShareLog: wxlog:launch app with ul only success

2021-03-31 20:23:58.003405+0800 keyboard[20721:2241720] >>>>>>>>> checkUniversalLinkReady:4 1 check passed

2021-03-31 20:23:58.003476+0800 keyboard[20721:2241720] >>>>>>>>> wxShareLog: wxlog:Successfully starting WeChat with the universal link.

当Extension 拉起分享时

App上面的Log:

2021-03-31 20:30:39.789388+0800 键多多输入法[20730:2245408] >>>>>>>>> register yes

2021-03-31 20:31:03.840772+0800 键多多输入法[20730:2245408] >>>>>>>>>+ continueUserActivity

2021-03-31 20:31:03.842173+0800 键多多输入法[20730:2245408] >>>>>>>>> wxShareLog: wxlog:Error:set token fail, errCode:3, errLog:app no context, req[(null)], contextID[(null)]

2021-03-31 20:31:03.842697+0800 键多多输入法[20730:2245408] >>>>>>>>> wxShareLog: wxlog:Error:check or record token fail, error:Error Domain=WXOpenSDKRefreshTokenError Code=3 "app no context, req[(null)], contextID[(null)]" UserInfo={NSLocalizedDescription=app no context, req[(null)], contextID[(null)]}

2021-03-31 20:31:03.943285+0800 键多多输入法[20730:2245408] >>>>>>>>> wxShareLog: wxlog:delay launch wx with refresh token fail

2021-03-31 20:31:03.956549+0800 键多多输入法[20730:2245408] >>>>>>>>> wxShareLog: wxlog:set property list

2021-03-31 20:31:04.007607+0800 键多多输入法[20730:2245408] >>>>>>>>> wxShareLog: wxlog:launch app with ul only success

2021-03-31 20:31:04.007675+0800 键多多输入法[20730:2245408] >>>>>>>>> wxShareLog: wxlog:openURL success:1, url:https://help.wechat.com/app/wxb8b44016ab21bfb6/refreshTokenFail/?bundleID=com.youmou.duoduo&isShare=0&errCode=3&errMsg=app%20no%20context%2C%20req%5B%28null%29%5D%2C%20contextID%5B%28null%29%5D&wechat_auth_token=61025ae8202b3eef65b7503ccd3b4378bcb4d634f07b91e487ea863c20cf49a5_MTYwNTY2NTgzMw%3D%3D&wechat_app_bundleId=com.youmou.duoduo

Extension上面的 Log:

2021-03-31 20:39:23.157622+0800 keyboard[21006:2252447] >>>>>>>>> register yes

2021-03-31 20:39:23.164277+0800 keyboard[21006:2252447] >>>>>>>>> wxShareLog: wxlog:send req[<SendMessageToWXReq: 0x28153e700>], appID:wxb8b44016ab21bfb6, universalLink:https://www.duoduosrf.com/, sdkVersion:1.8.7.1

2021-03-31 20:39:23.168828+0800 keyboard[21006:2252447] >>>>>>>>> wxShareLog: wxlog:set property list

2021-03-31 20:39:23.184201+0800 keyboard[21006:2252447] >>>>>>>>> wxShareLog: wxlog:Error:fail to load Keychain status:-25300, keyData null:1

2021-03-31 20:39:23.184237+0800 keyboard[21006:2252447] >>>>>>>>> wxShareLog: wxlog:token[(null)] is null

2021-03-31 20:39:23.286018+0800 keyboard[21006:2252447] >>>>>>>>> wxShareLog: wxlog:launch app with ul only success

2021-03-31 20:39:23.286118+0800 keyboard[21006:2252447] >>>>>>>>> wxShareLog: wxlog:launch app with universal link, ret:1

2021-03-31 20:39:23.286345+0800 keyboard[21006:2252447] >>>>>>>>> wxShareLog: wxlog:req:<SendMessageToWXReq: 0x28153e700>, cid:2faa4741454c28b1bc4043d3d12cae7aa4a482cd

请问怎么处理?

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签