I can make the plugin work if I install the plugin like this “cordova plugin add org.apache.cordova.inappbrowser”
But it is downloading cordova-plugin-inappbrowser instead of org.apache.cordova.inappbrowser… Below is the message shown while installing the plugin …
Notice: org.apache.cordova.inappbrowser has been automatically converted to cordova-plugin-inappbrowser and fetched from npm. This is due to our old plugins registry shutting down.
I have this problem today after updating my libraries ( npm update -g cordova ionic )
the problem is apparent in version 5.40 of Cordova. When the plugin is added cordova did not update the metadata information on cordova_plugin.js file.
After installing and uninstalling libraries like crazy this was what I did:
You can check if all libraries are no longer in your OS by running ionic -v, cordova -v, node -v, npm -v
one command at a time in your command prompt.
After that I return to install nodejs but now with the stable version (v4.2.2) using the installer from the webpage. At that time I was running nodejs with 4.2.2 and npm with 2.14.7
Then I will install Cordova but now with the version 5.3.3 that was the last version before the 5.40 npm install -g cordova@5.3.3
Then install ionic npm install ionic (I have the 1.7.8 version right now)
Then go back to your project and delete the platform folder in my case was MyApp/platforms/android
reAdd a new platform ionic add platform android
You can see in the command prompt that all the plugins are reainstalling again
After that I was able of running my app again with the inappbrowser plugin
So in resume this was my last environment
nodejs v4.2.2
npm v2.14.7
cordova v5.3.3
ionic 1.7.8 v
And this is what I have in my ng-cordova.js file if you still have issues about the version of the plugin http://pastebin.com/suu8JSF7