1

I use the ngCordova port of the excellent cordovaSocialSharing plugin written by Eddy Verbruggen, using the method to share with the native sharesheet. I would like to know which option the user chose to share with, e.g. facebook, twitter etc. Is it possible to get this information?

The success callback "result" object is just a boolean.

    $cordovaSocialSharing
    //message, subject, file, url
      .share(null, null, null, video.video_url) // Share via native share sheet
      .then(function (result) {
        console.log("success sharing video!", result);
      }, function (err) {
        console.log("error sharing video!", err);
      });
Community
  • 1
  • 1
Adam Diament
  • 4,290
  • 3
  • 34
  • 55

0 Answers0