# SocialSharing PLUGIN doesn't work

**URL:** <https://forum.ionicframework.com/t/socialsharing-plugin-doesnt-work/31178>\
**Category:** ionic-v1\
**Created:** [August 25, 2015, 5:04pm UTC](https://forum.ionicframework.com/t/socialsharing-plugin-doesnt-work/31178 "2015-08-25T17:04:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abellion](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@abellion](https://forum.ionicframework.com/u/abellion)\
**Post date:** [August 25, 2015, 5:04pm UTC](https://forum.ionicframework.com/t/socialsharing-plugin-doesnt-work/31178/1 "2015-08-25T17:04:36Z")

</div>

Hi everybody,

The SocialSharing plugin from ngCordova ([http://ngcordova.com/docs/plugins/socialSharing/](http://ngcordova.com/docs/plugins/socialSharing/)) doesn’t work in my app.  
I put some console log at different points to see what happen and the only thing i see in the inspector is the “CLICK” log when i tap on the button to open the social sharing options. No error or success callback are invoked.

```auto
function openShare() {
    $cordovaSocialSharing.share("MESSAGE", "SUBJECT")
    .then(function(result) {
        console.log("SUCCESS");
        console.log(result);
    }, function(err) {
        console.log("ERROR");
        console.log(err);
    });

    console.log("CLICK");
}

```

Thanks for helping 😄

NOTE : this code work fine on IOS.

---

<div class="post-metadata">

**Author:** ![juliosampaio](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/juliosampaio/32/81437_2.png) [@juliosampaio](https://forum.ionicframework.com/u/juliosampaio)\
**Post date:** [August 25, 2015, 6:06pm UTC](https://forum.ionicframework.com/t/socialsharing-plugin-doesnt-work/31178/2 "2015-08-25T18:06:18Z")

</div>

This works on iOS but not in Android? Did you try removing the Android platform and then adding it back? This way the plugin code will be downloaded for Android.

---

<div class="post-metadata">

**Author:** ![abellion](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@abellion](https://forum.ionicframework.com/u/abellion)\
**Post date:** [August 26, 2015, 8:13am UTC](https://forum.ionicframework.com/t/socialsharing-plugin-doesnt-work/31178/3 "2015-08-26T08:13:23Z")

</div>

It’s working, thanks a lot ! 🙂
