用的友盟SDK,微信登录提示链接无法访问,已经确定微信后台开通登录功能,APPKey也都配置对的,怎么回事呀? 微信问题还是友盟问题呀?安卓是可以登录的
微信授权登录提示该链接无法访问。
https://developer.umeng.com/docs/66632/detail/67043?um_channel=sdk
我的配置:
微信后台和友盟SDK都是: https://abc.com/app/
apple json path: ["/app/*"]
备忘录输入 https://abc.com/app/ 点击可以吊起APP,浏览器打开也能显示跳到APP,为啥微信登录,分享都不可以啊?
我的微信app id : wxebdc9462ec579935 有技术人员帮忙看看吗?
我的设备是 6p, 12.5的系统
用微信自检函数可以调到微信然后又跳到APP,报错: wxlog:Error:fail to load Keychain status:-25300, keyData null:1
但如果把友盟接入注销掉,单独使用微信检查函数打印如下:这是不是都检测成功呀?
微信检查Ready: WXULCheckStep -- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ]
微信检查Ready: WXULCheckStep -- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ]
微信检查Ready: WXULCheckStep -- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ]
微信检查: wxlog:set property list
微信检查Ready: WXULCheckStep -- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ]
微信检查: wxlog:launch app with ul only success
微信检查Ready: WXULCheckStep -- WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ]
微信检查: wxlog:Successfully starting WeChat with the universal link.
最后:
当我使用微信原生的代码再注册一下时就分享成功了,唯一的区别就是这个,也就是说友盟的微信注册方法不行? 向友盟反馈了,如果也有相同问题的同学可以这也试一下。
WXApi.registerApp("", universalLink: "")
最后的最后:
友盟回复了,用友盟验证链接的时候要用如下:记得加 .rawValue !!!
UMSocialGlobal.shareInstance()?.universalLinkDic = [UMSocialPlatformType.wechatSession.rawValue:"", UMSocialPlatformType.QQ.rawValue:""]
建议直接咨询友盟客服。