nraboy / ng-cordova-oauth

AngularJS oauth library for use with Apache Cordova projects
https://www.thepolyglotdeveloper.com
MIT License
456 stars 199 forks source link

$cordovaOauth.twitter doesn't work : it seems to be undefined #262

Closed NicsTr closed 8 years ago

NicsTr commented 8 years ago

Hi,

I tried (and succeed) using this ngCordova plugin with Google Plus.

But with the twitter method nothing happened as if it didn't exist.

There is my minimal code which doesn't as described by the doc (The alert "Ready" is shown, but not the alert "After cordovaOauth.twitter") :

$ionicPlatform.ready(function() { alert("Ready"); $cordovaOauth.twitter("<myConsumerKey>", "<myConsumerSecret>"); alert("After cordovaOauth.twitter"); });

Thanks in advance for helping me through this.

nraboy commented 8 years ago

https://github.com/nraboy/ng-cordova-oauth#support