1

我使用Eddy Verbruggen编写的优秀的cordovaSocialSharing 插件的ngCordova端口,使用方法与原生 sharesheet 共享。我想知道用户选择与哪个选项共享,例如 facebook、twitter 等。是否可以获得此信息?

成功回调“结果”对象只是一个布尔值。

    $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);
      });
4

0 回答 0