Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

$cordovaSocialSharing has stopped working for me

$
0
0

@richardshergold wrote:

This is driving me a little bit mad. I had the $cordovaSocialSharing plug-in working ok and as far as I know I have not changed my code at all. But now when I try to call it I get an error:

Error: undefined is not an object (evaluating 'n.plugins.socialsharing')
shareViaFacebook@file:///var/mobile/Containers/Bundle/Application/92A4767A-D120-4FA4-BBB1-B3CE0BFD3031/Open%20Day.app/www/js/ng-cordova.min.js:9:7675

The plug-in has been included ok (I checked).

In index.html I have:

<script src="js/ng-cordova.min.js"></script>
<script src="cordova.js"></script>

In my app.js I am injecting ngCordova

In my controller where I want to use the plug-in I am injecting $cordovaSocialSharing

I am not sure what else to check? It was working just a couple of days ago!

Any ideas?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles