在使用JShare-React-native时候分享出现问题
使用
let shareParam = {
type: 'app', // wechat_favourite 不支持
platform: '', // 分享到指定平台
url: "https://reactnative.cn/docs/0.51/platform-specific-code.html#content" ,// 点击跳转 url
extInfo: "" ,// 选填 第三方应用自定义数据
path: "" ,// 选填 对应 app 数据文件
title: "App名字", // 选填
text: "app介绍" ,// 选填
}
显示 不合法的 mediaType
但是使用换成type的时候
let shareParam = {
type: 'link',
platform: "", // 分享到指定平台
url: "https://reactnative.cn/docs/0.51/platform-specific-code.html#content", // 必填,网页 url
imagePath: "", // 选填,本地图片路径 imagePath,imageUrl 必须二选一
title: "我是标题", // 选填
text: "我是内容" // 选填
}
分享微博显示 Cannot find the description 分享微信 总是闪一下就没有了
但是如果没有登录微信的话可以跳转到APP中 登录账号以后跳转不过去