I'm using SocialSharing-PhoneGap-Plugin in an Ionic2 app - but I need to get a confirmation whether something was shared or not. Is there a way to do this? Does the OS (iOS or Android) provide some type of confirmation signal as to whether the user hit OK/Cancel on the action sheet?
I'm a newbie programmer so I'd appreciate some code sample. Thanks in advance.
Here's my current code:
otherShare(){
this.sharingVar.share("General Message Body Goes Here","Hello
World","assets/images/image.jpg","http://example.com")
.then(()=>{
alert("Success");
},
()=>{
alert("failed");
})
};