oauth-io / oauth-phonegap

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

Doesn't detect dependency... #17

Closed tvl83 closed 10 years ago

tvl83 commented 10 years ago

I am having a lot of trouble getting this plugin to work. I created a clean slate phonegap project using

phonegap create cleanslate then I cd cleanslate and phonegap local plugin add https://github.com/oauth-io/oauth-phonegap which gives me an error

[phonegap] adding the plugin: https://github.com/oauth-io/oauth-phonegap
   [error] ENOENT, no such file or directory '/home/tvle83/phonegap/cleanslate/plugins/org.apache.cordova.inappbrowser/www/inappbrowser.js'

I look in that directory and there is a file there, but it's InAppBrowser.js rather than inappbrowser.js

How do I have it look for the all lowercase version?

william26 commented 10 years ago

Hi, sorry for the delay.

Since your issue was posted, the SDK has been entirely refactored. It is currently in version 0.2.2, and the installation process has been successfully tested. You shouldn't have this problem anymore.

To install, run:

phonegap plugin add https://github.com/oauth-io/oauth-phonegap.git

Hope this helps :) Have a nice day