2.我使用的是友盟集成的微信分享
iOS微信分享拉起微信失败?1.项目包名:com.weface.kksocialsecurity 2.微信appid:wx205c6619f1eab2e8 3.项目名称:看看社保
2021-03-261.怎么解决的
(很急)分享出现未验证应用 ,checkUniversalLinkReady 验证是通过的?日志 2020-11-05 16:15:38.730220+0800 vivo运动健康[15375:2383284] Reachability Flag Status: -R ------- networkStatusForFlags 2020-11-05 16:15:52.814761+0800 vivo运动健康[15375:2383284] --------- buttonWithFrame, timeInterval is: 0.000000--------- 2020-11-05 16:16:09.671278+0800 vivo运动健康[15375:2383284] -------0, 1, check passed, 2020-11-05 16:16:09.673278+0800 vivo运动健康[15375:2383284] -------1, 1, check passed, 2020-11-05 16:16:09.676996+0800 vivo运动健康[15375:2383284] -------2, 1, check passed, 2020-11-05 16:16:09.691859+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:set property list 2020-11-05 16:16:09.711209+0800 vivo运动健康[15375:2383284] -------3, 1, check passed, 2020-11-05 16:16:09.827764+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:launch app with ul only success 2020-11-05 16:16:09.827934+0800 vivo运动健康[15375:2383284] -------4, 1, check passed, 2020-11-05 16:16:09.828009+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:Successfully starting WeChat with the universal link. 2020-11-05 16:16:12.163829+0800 vivo运动健康[15375:2383284] -------5, 1, Universal Link check passed. The application is launched by WeChat via Universal Link, 2020-11-05 16:16:12.163968+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ] 2020-11-05 16:16:12.164178+0800 vivo运动健康[15375:2383284] -------6, 1, All Check Passed!, 2020-11-05 16:16:12.164358+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ] 2020-11-05 16:16:12.176273+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:Error:set token fail, errCode:3, errLog:app no context, req[(null)], contextID[(null)] 2020-11-05 16:16:12.176395+0800 vivo运动健康[15375:2383284] -------WeChatSDK: 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)]} 2020-11-05 16:16:12.277706+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:delay launch wx with refresh token fail 2020-11-05 16:16:12.298198+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:set property list 2020-11-05 16:16:12.826445+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:launch app with ul only success 2020-11-05 16:16:12.826742+0800 vivo运动健康[15375:2383284] -------WeChatSDK: wxlog:openURL success:1, url:https://help.wechat.com/app/wxe2aef63cd27fde23/refreshTokenFail/?bundleID=com.xxx.health&isShare=0&errCode=3&errMsg=app%20no%20context%2C%20req%5B%28null%29%5D%2C%20contextID%5B%28null%29%5D&wechat_auth_token=ac796ab0eab7a9e4178189d189537c50422ccfa2e4bd5f40ec86edc009e38f58_MTU5MDczMjk5MQ%3D%3D&wechat_app_bundleId=com.xxx.health appid : wxe2aef63cd27fde23 微信号 doubelman 时间2020.11.05 下午4点20[图片] 日志已上报 多谢帮忙处理一下
2020-12-081.能问下你是怎么解决这个问题的吗
WechatOpenSDK (1.8.7.1) 报错:-25300 怎么处理?复现步骤: 一 cocoapods 安装 open sdk,版本 1.8.7.1: pod 'WechatOpenSDK' 二 在 Info.plist 配置 Schema 以及 URL Types 中配置 微信 appId: [图片] 三 AppDelegate 注册 WXApi 及实现 WXApiDelegate: @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // WechatOpenSDK WXApi.startLog(by: .detail) { (msg) in print("WXApi log: \(msg)") } // 已使用 safari 验证 "https://sub.domain.com/link" 可以正常调起 app WXApi.registerApp(Configs.WeChat.appID, universalLink: "https://sub.domain.com/link") print("WXApi version: \(WXApi.getVersion())") return true } func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { return WXApi.handleOpen(url, delegate: self) } func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { return WXApi.handleOpenUniversalLink(userActivity, delegate: self) } } extension AppDelegate: WXApiDelegate { // wechat delegate func onReq(_ req: BaseReq) { print("wechat onReq \(req.debugDescription)") } func onResp(_ resp: BaseResp) { print("wechat onResp \(resp.debugDescription)") } } 四 在 ViewController 调用 WXApi 的 方法: + (void)sendReq:(BaseReq *)req completion:(void (^ __nullable)(BOOL success))completion; 五 结果如下: 回调值 userActivity.webpageURL: "https://sub.domain.com/link/wxxxxxxx/refreshToken?wechat_auth_token=xxxx&wechat_auth_context_id=TestAutoCheckContextId_xxxxxx" Log 记录: " WXApi log: wxlog:set property list WXApi log: wxlog:send req[], appID:wxxxxxxxx, universalLink:https://sub.domain.com/link/, sdkVersion:1.8.7.1 WXApi log: wxlog:set property list WXApi log: wxlog:Error:fail to load Keychain status:-25300, keyData null:1 WXApi log: wxlog:token[(null)] is null WXApi log: wxlog:launch app with ul only success WXApi log: wxlog:Successfully starting WeChat with the universal link. WXApi log: wxlog:launch app with ul only success WXApi log: wxlog:launch app with universal link, ret:1 WXApi log: wxlog:req:, cid:xxxxxxxxxx WXApi.send isOk: true WXApi log: wxlog:WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ] WXApi log: wxlog:WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ] " 调用 + (void)checkUniversalLinkReady:(nonnull WXCheckULCompletion)completion; checkUniversalLinkReady: step 0, success true, errorInfo check passed, suggestion checkUniversalLinkReady: step 1, success true, errorInfo check passed, suggestion checkUniversalLinkReady: step 2, success true, errorInfo check passed, suggestion WXApi log: wxlog:set property list checkUniversalLinkReady: step 3, success true, errorInfo check passed, suggestion WXApi log: wxlog:send req[], appID:wx04155bc44c349cd2, universalLink:https://guardian.kid17.com/link/, sdkVersion:1.8.7.1 WXApi log: wxlog:set property list WXApi log: wxlog:Error:fail to load Keychain status:-25300, keyData null:1 WXApi log: wxlog:token[(null)] is null WXApi log: wxlog:launch app with ul only success checkUniversalLinkReady: step 4, success true, errorInfo check passed, suggestion WXApi log: wxlog:Successfully starting WeChat with the universal link. WXApi log: wxlog:launch app with ul only success WXApi log: wxlog:launch app with universal link, ret:1 WXApi log: wxlog:req:, cid:xxxxxxxxxxxxxxxxxxxxx WXApi.send isOk: true 该如何解决呢? 微信号:kid17-test 微信日志已上传,时间 2020-06-11 19:44
2020-12-02appID:wx**************, universalLink:https://h5.weface.com.cn/kkass/, 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: 0x282a21ac0>, cid:f639351623fe1fe1cdd637ba1821411b6cd078df
微信SDK登录没有问题,分享时也能拉起微信,但是拉不起微信分享页面?OpenSDK1.8.7.1_NoPay
2020-12-01