天天看點

Error Domain=ShareSDKErrorDomain Code=200300 “(null)“

Error Domain=ShareSDKErrorDomain Code=200300 "(null)" UserInfo={SEL=registerApp:universalLink:, error_code=200300}

解決方案:

  1、在蘋果開發者中心配置universalLink位址

2、在shareSDK中配置universalLink

[ShareSDK  registPlatforms:^(SSDKRegister *platformsRegister) {

        [platformsRegister setupQQWithAppId:qq_appid appkey:qq_appkey];

        [platformsRegister setupDingTalkWithAppId:dt_appid];

        [platformsRegister setupWeChatWithAppId:wx_appid appSecret:wechat_appsecret universalLink:@"https://applinks:xxx.xxx.cn/"];

        [platformsRegister setupSinaWeiboWithAppkey:sinaweibo_appkey appSecret:sinaweibo_appsecret redirectUrl:sinaweibo_redirectUri];

    }];

3、需要增加一個白名單的配置LSApplicationQueriesSchemes:weixinULAPI