收藏
回答

日志显示register fail, universal link is nil!,该如何排查?

Hi,

我在处理分享App提示“未验证应用”的问题。打印的日志显示出现“register fail, universal link is nil!”报错,我不知道下一步该怎么排查这个问题?

APPID:wxb4f42923c0b57f98

universalLink: https://oia.jianrenmatou.com/static/punchclock/


App里有三个地方用到了UL,看下对不对?

a.代码:

b.open.wechat.qq.com

c.Associated Domains

日志截屏:

代码如下:


    [WXApi startLogByLevel:WXLogLevelDetail logBlock:^(NSString *log) {
        NSLog(@"微信 WXLogLevelDetail ===: %@", log);
    }];
    BOOL b = [WXApi registerApp:WeiXin_Pay_APPID universalLink:@"https://oia.jianrenmatou.com/static/punchclock/"];
    NSLog(@"微信 registerApp === %d",b);
    [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_WechatSession appKey:WeiXin_Pay_APPID appSecret:WeiXin_Pay_Secret redirectURL:nil];
    [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_QQ appKey:@"1109372448"/*设置QQ平台的appID*/  appSecret:nil redirectURL:@"http://mobile.umeng.com/social"];
    [WXApi checkUniversalLinkReady:^(WXULCheckStep step, WXCheckULStepResult* result) {
        NSLog(@"微信 checkUniversalLinkReady === %@, %u, %@, %@", @(step), result.success, result.errorInfo, result.suggestion);
    }];

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签