破案了: 1、不要同时调用自检函数和sendReq 2、缺的是weixinURLParamsAPI而不是weixinULAPI
WeChat scheme(weixinULAPI) is not be added ?1.9.6版本的SDK,注册的时候出现 WeChatSDK: wxlog:Error:register fail, WeChat scheme(weixinULAPI) is not be added to LSApplicationQueriesSchemes in plist!的问题,可通过打印,weixinULAPI是存在的,请问这是怎么问题,全网都搜不到一个解决方案?有人遇到过处理了吗? 源码: [WXApi startLogByLevel:WXLogLevelDetail logBlock:^(NSString *log) { NSLog(@"WeChatSDK: %@", log); }]; NSArray *queriesSchemes = [[NSBundle mainBundle] objectForInfoDictionaryKey: @"LSApplicationQueriesSchemes"]; NSLog(@"queriesSchemes:%@",queriesSchemes); [WXApi registerApp:AppID universalLink:universaURL]; 打印信息: 2022-08-29 11:29:57.089002+0800 Independent[12678:1854151] queriesSchemes:( weixin, wechat, weixinULAPI ) 2022-08-29 11:29:57.089358+0800 Independent[12678:1854151] WeChatSDK: wxlog:Error:register fail, WeChat scheme(weixinULAPI) is not be added to LSApplicationQueriesSchemes in plist!
2022-08-30不要同时调用自检函数和sendReq
微信支付,15的系统拉起微信,调不起支付页,12的系统完全正常?15.4.1 调用如下。 能调起微信。不能调起支付页 wxlog:send req[<PayReq: 0x282213430>], appID:wx2cb7d941b858c60f, universalLink:*****, sdkVersion:1.8.7.1 wxlog:Error:launch app with ul only fail wxlog:Error:lauch app fail and need degrade, wxlog:Error:launch app fail, isUlLaunch:0, wxlog:degrade launch app ret:0, 12.5.1 调用如下。正常调起支付页 wxlog:send req[<PayReq: 0x2838b3200>], appID:wx2cb7d941b858c60f, universalLink:****, sdkVersion:1.8.7.1 wxlog:launch app with ul only success wxlog:launch app with universal link, ret:1 微信分享在上述机型都正常,check检测通过
2022-08-30不要同时调用自检函数和sendReq
微信支付 调起微信后报 “未知的应用请求”sdk版本:1.8.7.1(降级到1.8.7也有同样的错误) 手机版本:iOS 14.0 (使用了13.5.1以及13.3.1同样的错误) 所有的方法都已经重载,配置也完全按照官方文档来的,并且是直接复制过来的;重新对接了好多次,依旧是同样的错误 Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:0, 1, check passed, Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:1, 1, check passed, Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:2, 1, check passed, Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:set property list Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:3, 1, check passed, Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:send req[<PayReq: 0x280e51450>], appID:wxfd9cdd2b8d74179d, universalLink:https://www.gengguangcj.cn/sudaizhijia/, sdkVersion:1.8.7.1 Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:set property list Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1 Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:token[(null)] is null Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:launch app with ul only success Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:4, 1, check passed, Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:Successfully starting WeChat with the universal link. Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:Error:launch app with ul only fail, url: Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:Error:lauch app fail and need degrade Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:launch app with url success Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:degrade launch app ret:1, with url: 13.3.1 终端日志 使用备忘录测试对应的universallink 链接,可以打开自己的app Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:0, 1, check passed, Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:1, 1, check passed, Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:2, 1, check passed, Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:set property list Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:3, 1, check passed, Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:send req[<PayReq: 0x281426fd0>], appID:wxfd9cdd2b8d74179d, universalLink:https://www.gengguangcj.cn/sudaizhijia/, sdkVersion:1.8.7.1 Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:set property list Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1 Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:token[(null)] is null Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:launch app with ul only success Function:-[SDThirdLibBridge toWechatPay:callBack:]_block_invoke_2 Line:83 Content:step:4, 1, check passed, Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:Successfully starting WeChat with the universal link. Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:launch app with ul only success Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:launch app with universal link, ret:1 Function:-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke Line:167 Content:****WeChatSDK: wxlog:req:<PayReq: 0x281426fd0>, cid:109e4fe99c0134ffca52eeaebc92dc73b7cbe18c 两个版本的手机的日志已经通过手机上传,希望可以收到官方的回复
2022-08-30不要同时调用自检函数和sendReq
iOS app唤起微信 微信提示「未知的应用请求」?universalLink正常可以唤起微信,在Safari里面可以正常唤起app。但是app内唤起微信登录的时候,会在微信中提示「未知的应用请求」[图片],第一次的时候,在「未知的应用请求」上面盖了一层[图片],也会出现「微信登录失败」[图片]。 微信sdk日志: 2020-06-08 22:47:42.102615+0800 5G测速大师[3076:1057681] versalLink0, 1, check passed, 2020-06-08 22:47:42.102721+0800 5G测速大师[3076:1057681] versalLink1, 1, check passed, 2020-06-08 22:47:42.105207+0800 5G测速大师[3076:1057681] versalLink2, 1, check passed, 2020-06-08 22:47:42.109259+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:set property list 2020-06-08 22:47:42.121098+0800 5G测速大师[3076:1057681] versalLink3, 1, check passed, 2020-06-08 22:47:42.128308+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:send req[<SendAuthReq: 0x28007e1f0>], appID:wx6c6626a62fe2d1d1, universalLink:https://www.speedtesting.cn/, sdkVersion:1.8.7.1 2020-06-08 22:47:42.135193+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:set property list 2020-06-08 22:47:42.141483+0800 5G测速大师[3076:1069869] PBItemCollectionServicer connection disconnected. 2020-06-08 22:47:42.144890+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1 2020-06-08 22:47:42.144945+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:token[(null)] is null 2020-06-08 22:47:42.147983+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:launch app with ul only success 2020-06-08 22:47:42.148035+0800 5G测速大师[3076:1057681] versalLink4, 1, check passed, 2020-06-08 22:47:42.148065+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:Successfully starting WeChat with the universal link. 2020-06-08 22:47:42.204197+0800 5G测速大师[3076:1069869] PBItemCollectionServicer connection disconnected. 2020-06-08 22:47:43.050900+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:launch app with ul only success 2020-06-08 22:47:43.051053+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:launch app with universal link, ret:1 2020-06-08 22:47:43.051171+0800 5G测速大师[3076:1057681] WeChatSDK: wxlog:req:<SendAuthReq: 0x28007e1f0>, cid:d6b6865ad899195728bae66acf0da9981c490611 请问是什么原因??
2022-08-30不要同时调用自检函数和sendReq
IOS微信支付 跳转到微信后,微信界面弹出“未知的应用请求”IOS微信使用的是openSDK最新版本,请问如何排查错误呢? IOS错误日志显示: WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1 WeChatSDK: wxlog:token[(null)] is null Universal检测函数是通过的OPEN SDK降级到1.8.6.2就一切正常,支付全程没有任何问题!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-08-30