You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var options = {
message: 'share this', // not supported on some apps (Facebook, Instagram)
subject: 'the subject', // fi. for email
files: ['', ''], // an array of filenames either locally or remotely
url: 'https://www.website.com/foo/#bar?a=b',
chooserTitle: 'Pick an app' // Android only, you can override the default share sheet title
};
$scope.share = function(){
window.plugins.socialsharing.shareWithOptions($scope.options, function(result){
console.log(result);
}, function(error){
console.log(error);
});
};
Nothing will trigger and console will say "JSON error", i've tried reducing the options to just a message/just a subject and nothing, it's the same :(
The text was updated successfully, but these errors were encountered:
Using default shareWithOptions code :
Nothing will trigger and console will say "JSON error", i've tried reducing the options to just a message/just a subject and nothing, it's the same :(
The text was updated successfully, but these errors were encountered: