Closed mzyisbest closed 2 years ago
jcore-react-native 2.0.2 jshare-react-native 1.4.2
RN 0.67.4
JShareModule.isQQInstalled((isInstalled) => {
if (!isInstalled) { Global.showMessage('没有安装QQ,请安装后再试'); return false; } else { const imageUrl = share_data.imageUrl.replace('_s80png', '_wh180png'); // RNFetchBlob.config({ fileCache : true}) // .fetch('GET', imageUrl).then((res) => { const message = { type: 'link', platform: 'qq', text:share_data.description?.slice(0,30), imageUrl: imageUrl, url: share_data.webpageUrl, title: share_data.title?.slice(0,30), } JShareModule.share(message, (map) => { Global.showMessage("分享成功"); shareTask(); }, (map) => { Global.showMessage("分享失败: " + JSON.stringify(map)); }) // }) } })
之前1.4.1 原生SDK 1.6.1 的时候没这个问题
jcore-react-native 2.0.2 jshare-react-native 1.4.2
RN 0.67.4
JShareModule.isQQInstalled((isInstalled) => {
之前1.4.1 原生SDK 1.6.1 的时候没这个问题