oauth-io / oauth-phonegap

OAuth.io plugin for Apache Cordova/PhoneGap
195 stars 69 forks source link

Ionic and cordova "OAuth is not defined" #39

Closed jjshoe closed 9 years ago

jjshoe commented 9 years ago
npm install -g cordova ionic
ionic start myApp tabs
cordova plugin add https://github.com/oauth-io/oauth-phonegap
ionic serve

All I seem to ever get is "OAuth is not defined". Thoughts on how I can fix this?

jjshoe commented 9 years ago

I guess this is because it requires cordova.js to not be empty, aka run in an emulator or on a device.