cordovaOauth Could not find InAppBrowser plugin error

By: Ryan Wong at

If you get the error “cordovaOauth Could not find InAppBrowser plugin error” then your cordova package is wrong.

Do the following:

1
2
3
cordova plugin rm org.apache.cordova.inappbrowser

cordova plugin add cordova-plugin-inappbrowser

Then go into ng-cordova.js and replace all instances of “org.apache.cordova.inappbrowser” with “cordova-plugin-inappbrowser”.

Make sure you test on a real phone, simulator will fail since the livereload will mess it up.

Hope this helps you out.