Showing posts with label cordova. Show all posts
Showing posts with label cordova. Show all posts

Friday, November 20, 2015

"could not find inappbrowser plugin" when using ngCordova and Ionic

You will probably get the error when you have installed Cordova v5.4.0 . To solve the issue downgrade your Cordova to v5.3.3 . Also you can follow https://github.com/nraboy/ng-cordova-oauth/issues/57 to get more updates on the issue.

How to downgrade Cordova can be found in my blog http://rakesh1988.blogspot.sg/2015/11/downgrading-cordova-installing-older.html

Cheers!!!

Thursday, November 19, 2015

Downgrading Cordova / Installing older Cordova version

Have you run into a situation where you upgraded Cordova and your application broke due to a third party plugin???
Here are the steps to install previous version of Cordova
  • cordova -v  would tell you the current version of cordova installed.
  • npm info cordova  would tell you the available versions of cordova in npm.
  • Suppose you want to install  v 5.3.3 then just follow the below commands
    • npm uninstall -g cordova  This will uninstall the current cordova verison
    • npm install -g cordova@5.3.3 This will install the version 5.3.3
  • Then you need to update your application to point to new cordova
    • cordova platform update android
    • cordova platform update ios
  • You can also update ionic as below
    • ionic lib update