Custom Apache Cordova plugins are not supported in the simulator and in the Cordova developer app.
If the Apache Cordova version for your app is not supported by the plugin, you might not be able to build and run your app.
Before importing a custom Apache Cordova plugin into AppBuilder and building an app with it, verify that the plugin meets the following requirements.
- The plugin is Apache Cordova Plugman-compatible. For more information about Apache Cordova Plugman, see Apache Cordova Plugman.
- The plugin contains a
plugin.xmlmanifest which complies with the
plugin.xmlmanifest format. For more information about
plugin.xml, see plugin.xml Manifest Format.
plugin.xmlto build your app. AppBuilder does not require this file when you import the plugin and you can add it later.
- File paths to plugin resources in
plugin.xmlare relative to the root directory of the plugin. For example:
- The plugin is compatible with the target Apache Cordova version for your app.
<engines>element in the markup of
plugin.xmllists the Apache Cordova versions supported by the plugin. You can check the target Apache Cordova version for your app in the app properties.
For easier development, verify that the plugin meets the following recommendations.
- The plugin is packaged in a