|
[BUG]
inshare ios11 按文档调用出错
[复制链接]
求助,谢谢!
inshare 在 ios11 按文档调用微信分享时出错!
错误提示:抱歉,获取数据异常,无法分享到微信。
代码:
var inShare = api.require('inShare');
inShare.shareImgsTo({
imgPaths: 'fs://download/1516856248905.jpg',
sendPattern: 'ALL',
description: '多图分享',
needDecodePath: true,
imgSetType:1,
app: 'wxFriend'
}, function(ret, err) {
if(ret.status) {
api.toast({
msg: '分享成功!',
duration: 4000,
location: 'middle'
});
} else {
api.toast({
msg: ret.errorMessage,
duration: 4000,
location: 'middle'
});
}
});
|
|