微信分享debug alert都返回ok,安卓可以正常分享,但是ios手机分享异常,不能正常显示图片,链接。
appid:wx1e41a72509751cc2
时间:2020.01.09 11:50-11:54
wx.config({
debug: true,
appId: respData.appId,
timestamp: respData.timestamp,
nonceStr: respData.nonceStr,
signature: respData.signature,
jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareAppMessage', 'onMenuShareTimeline']
});
wx.ready(function () {
wx.updateAppMessageShareData({
title: share_title,
desc: share_desc,
link: reqUrl,
imgUrl: reqUrl,
success: function () {
},
cancel: function () {
}
});
wx.updateTimelineShareData({
title: share_title,
link: reqUrl,
imgUrl: reqUrl,
success: function () {
},
cancel: function () {
}
});
});
这是因为苹果手机只识别入口的链接,你最后的页面肯定是跳转到这个页面的,你需要在最终的页面上再次发起验证sdk,这样就可以了,如果还是不明白,可以继续提问