Embed Cordova plugins in a GMA app

To be included in your app, Cordova plugins need to be specified in the build process.

Including Cordova plugins in your Android app

Use the gmabuildtool --build-cordova command-line option to specify which Cordova plugins to embed in your Android app:

gmabuildtool build
    --build-cordova cordova-plugin-contacts,cordova-plugin-device
    ...

The plugin.xml file

A plugin can contain several assets (images, sounds, native forms) which are listed in the plugin.xml file that is bundled by gmabuildtool.