I have built a simple android app using Cordova which runs perfectly on a device.
I have a new requirement to alert the user on offline/online which I understand involves using the Network Information plugin (https://github.com/apache/cordova-plugin-network-information).
Trying to add a plugin to the app using the CLI, as expected, I receive the error Current working directory is not a Cordova-based project.
because the project structure has changed.
How can I add this plugin into my app – manually if necessary?
I hope to not to have to resort to using eclipse again but will do if required.