oauth-io / oauth-phonegap

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

Installing InAppBrowser dev version #26

Closed ptbrowne closed 10 years ago

ptbrowne commented 10 years ago

When installing Oauth Phonegap as it is recommended, here is the logs:

$ cordova plugin add https://github.com/oauth-io/oauth-phonegap
Fetching plugin "https://github.com/oauth-io/oauth-phonegap" via git clone
Installing "com.phonegap.plugins.oauthio" for android
Fetching plugin "https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git" via git clone
Installing "org.apache.cordova.inappbrowser" for android

$  cordova plugin ls
com.phonegap.plugins.oauthio 0.2.1 "OAuth.io"
org.apache.cordova.inappbrowser 0.5.1-dev "InAppBrowser"

You see that the InAppBrowser version that was installed is the dev version of the InAppBrowser, which happens to do nothing on my computer and cellphone (and emulator).

When I first install InAppBrowser then OAuth, it works.

$ cordova plugin add org.apache.cordova.inappbrowser
Fetching plugin "org.apache.cordova.inappbrowser" via plugin registry
Installing "org.apache.cordova.inappbrowser" for android
$ cordova plugin add https://github.com/oauth-io/oauth-phonegap
Fetching plugin "https://github.com/oauth-io/oauth-phonegap" via git clone
Installing "com.phonegap.plugins.oauthio" for android
$ cordova plugin ls
com.phonegap.plugins.oauthio 0.2.1 "OAuth.io"
org.apache.cordova.inappbrowser 0.5.0 "InAppBrowser"

I do not know if this is a problem of cordova plugin manager or of OAuth but it would be nice if it would be in the docs.

william26 commented 10 years ago

Hi,

We changed the "inAppBrowser" dependency to use their master branch instead of the dev branch in version 0.2.2.

Thanks for your feedback, Hope this helps :)

ptbrowne commented 10 years ago

Great! Thanks !

On Fri, Jul 11, 2014 at 4:31 PM, Antoine Jackson notifications@github.com wrote:

Hi,

We changed the "inAppBrowser" dependency to use their master branch instead of the dev branch in version 0.2.2.

Thanks for your feedback, Hope this helps :)

— Reply to this email directly or view it on GitHub https://github.com/oauth-io/oauth-phonegap/issues/26#issuecomment-48737244 .