apache / cordova-plugin-network-information

Apache Cordova Network Information Plugin
https://cordova.apache.org/
Apache License 2.0
464 stars 321 forks source link

Correct installation command in README.md #27

Closed humhann closed 9 years ago

humhann commented 9 years ago

Current command within documentation: cordova plugin add cordova-plugin-network-information produces 404 error.

purplecabbage commented 9 years ago

No. This is the new way. Please close.

humhann commented 9 years ago

I don't understand then... am I using wrong plugin registries?

Fetching plugin "cordova-plugin-network-information" via plugin registry
npm http GET http://registry.cordova.io/cordova-plugin-network-information
npm http 404 http://registry.cordova.io/cordova-plugin-network-information
Error: 404 Not Found: cordova-plugin-network-information
purplecabbage commented 9 years ago

You will need cordova 5.0+ for this to work. If you are using an older version of cordova, then you should use the older id. This is as documented here: http://plugins.cordova.io/#/package/org.apache.cordova.network-information

The github repo is the latest greatest so it specifies the new id for installation.

humhann commented 9 years ago

Thank you for the explanation!

purplecabbage commented 9 years ago

You're welcome. Sorry we confused you. If you want to submit a pull request that explains this, that would be a great help to others.