Grato por sua visita. Neste momento esta página está apenas disponível em inglês.

Add a Plugin to Your Cordova Project

To add a Cordova plugin to your project, follow these steps:

  1. Open a command prompt or terminal window.
  2. Change directories to the root of your Cordova project.
  3. Run the following command to add the plugin to your Cordova project:

    $ cordova plugin add <path to plugin folder>

  4. 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.