Add a Plugin to Your Cordova Project
To add a Cordova plugin to your project, follow these steps:
- Open a command prompt or terminal window.
- Change directories to the root of your Cordova project.
Run the following command to add the plugin to your Cordova project:
$ cordova plugin add <path to plugin folder>
Run the following command to build your Cordova project:
$ cordova build
When using Amazon plugins for Cordova, you do not need to manually update the Android manifest because the plugin includes a configuration file that Cordova uses to automatically merge any needed changes when building an APK that uses the plugin.