收藏
回答

微信拉起小程序,生成的urlStr 报错,UniversalLink已经验证完毕,请问如何解决?

    UniversalLink 验证完成的

[WXApi checkUniversalLinkReady:^(WXULCheckStep step, WXCheckULStepResult* result) {

                NSLog(@"WeChat checkUniversalLinkReady %@, %u, %@, %@", @(step), result.success, result.errorInfo, result.suggestion);

            }];

2021-01-11 20:41:33 [MADAppDelegate.m:405行] WeChat checkUniversalLinkReady 0, 1, check passed, 

2021-01-11 20:41:33 [MADAppDelegate.m:405行] WeChat checkUniversalLinkReady 1, 1, check passed, 

2021-01-11 20:41:33 [MADAppDelegate.m:405行] WeChat checkUniversalLinkReady 2, 1, check passed, 

2021-01-11 20:41:34 [MADAppDelegate.m:405行] WeChat checkUniversalLinkReady 3, 1, check passed, 

2021-01-11 20:41:34 [MADAppDelegate.m:405行] WeChat checkUniversalLinkReady 4, 1, check passed, 

2021-01-11 20:41:36 [MADAppDelegate.m:405行] WeChat checkUniversalLinkReady 5, 1, Universal Link check passed. The application is launched by WeChat via Universal Link, 

2021-01-11 20:41:36 [MADAppDelegate.m:405行] WeChat checkUniversalLinkReady 6, 1, All Check Passed!, 



但是拉起小程序会报错:

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   change into print log by other block

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:send req[<WXLaunchMiniProgramReq: 0x28227a380>], appID:wxa416675d0b6fa744, universalLink:https://www.bgzchina.com/app/, sdkVersion:1.8.7.1

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:LaunchMiniProgram todata extDic=(null)

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:set property list

2021-01-11 20:00:20.873603+0800 MobileBank[3438:1607260] PBItemCollectionServicer connection disconnected.

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:Error:urlStr:https://help.wechat.com/app/wxa416675d0b6fa744/jumpWxa/?userName=gh_52e42316fa01 &path=&miniProgramType=0&extMsg=wechat_auth_token=3263b67da1a3df3553d9976ac81cfa66f606e765f81dadb62e4b6c265911abe9_MTYxMDAwNzkyOQ%3D%3Dwechat_auth_context_id=8ecdc60f7b6b0e836e5972e0c2ce6f12b792d58ewechat_app_bundleId=com.guizhoubank.iphone

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:Error:urlStr:weixin://app/wxa416675d0b6fa744/jumpWxa/?userName=gh_52e42316fa01 &path=&miniProgramType=0&extMsg=wechat_app_bundleId=com.guizhoubank.iphonewechat_degrade_launch_by_scheme=1

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:Error:launch app fail, url is nil!

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:Error:lauch app fail and need degrade, url:(null), schemeURL:(null) 

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:Error:launch app fail, url is nil!

2021-01-11 20:00:20 [GZBShareWeexModel.m:232行] WXAPILog:   wxlog:degrade launch app ret:0, with url:(null)

2021-01-11 20:00:23.464482+0800 贵州银行[3438:1607444] PBItemCollectionServicer connection disconnected.


生成的urlStr有问题,请问下怎么解决。

补充一下,分享到微信是正常的。就是拉起小程序 会有报错

最后一次编辑于  01-12
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签