Manage Plugins and Plugin Variables

In AppBuilder, you can choose which Apache Cordova plugins to enable in your Debug and Release build configurations. For example, during the testing phase, you might want to build your app with enabled Telerik Mobile Testing and Console plugins and when you build your app for distribution, you might want to have these plugins disabled and the Telerik AppFeedback enabled. You can also set different plugin variables for the two build configurations.

When you build your app, AppBuilder includes in your application package only the plugins enabled for the currently set build configuration and sets their corresponding plugin variables, if any.

IMPORTANT: When you modify your plugin configuration, AppBuilder stores your settings in hidden configuration-specific app files (.debug.abroject and .release.abproject). Always make sure to commit changes in these files.

Configure Plugins

When you enable a core, integrated or a verified plugin in your app, you can choose if you want to enable it for the Debug or the Release build configuration or for both.

This is especially useful when you work with plugins which bring value during a specific phase of the application lifecycle. For example, the Telerik Mobile Testing plugin is helpful during the development phase, while the Telerik AppFeedback might be more beneficial after the release of your app.

You cannot choose which custom plugins to enable for the Debug and the Release build configurations. Custom plugins are enabled for all build configurations.

For more information how to manage the plugins in your app, see Working with Plugins.

Configure Plugin Variables

AppBuilder lets you configure the plugin variables for all Apache Cordova plugins. You can set different plugin variables for the Debug and the Release build configurations.

For more information about configuring plugin variables, see Set Plugin Variables.

Specifics and Limitations

When you set your plugins and plugin variables for the different build configurations, keep in mind the following specifics and limitations.

Specifics

  • AppBuilder creates new apps with a disabled Telerik Mobile Testing in the Release configuration.
    You can enable it manually.
  • AppBuilder creates new apps with a disabled Console plugin in the Release configuration.
    You can enable it manually.
  • AppBuilder always disables the Telerik Mobile Testing when you build your app for publishing.
    To create a release build with an enabled Telerik Mobile Testing, build your app with the Build or Build in Cloud operation.

Limitations

  • When you add a custom plugin, you enable it for all build configurations.
    To disable a custom plugin when you build your app, you need to remove it from your app. For more information, see Remove Custom Plugins.

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.