Working with plugins

To access Cordova and BlackBerry functionality, you need to add plugins to your application. A plugin represents a set of APIs that you can use to access features of the platform. Each plugin that you add to your project provides a set of APIs that is packaged with your app during the build process. To keep the size of your app small, add only the plugins that you need.

When you install the BlackBerry WebWorks SDK, the installation includes the core Cordova plugins as well as the BlackBerry plugins, so they are available on your computer. The plugins are installed in the plugins folder in the BlackBerry WebWorks SDK installation folder.

You can also create your own plugins to access native APIs that are not available through existing plugins. For more information, see Creating custom plugins.

Last modified: 2014-10-09

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus