WeChat.shareToSession({
title:'多交互式资源转换平台',
description: '分享自商城',
thumbImage: '',
type: 'news',
webpageUrl: 'http://taobao.com'
})
WeChat.shareToTimeline({
title:' 多交互式资源转换平台',
description: '分享自:商城',
thumbImage: '',
type: 'news',
webpageUrl: 'http://taobao.com'
})
使用react-native-wechat 进行微信分享时,加上 thumbImage 属性,分享时反应会很慢,本人在做项目时,访问的是自己服务上的图片地址,进行分享时,反应了十几分钟才吊起分享界面,去掉thumbImage 后立刻被吊起。可能是图片过大引起的。