16. Creating Cordova Plugins

So far we’ve talked a lot about the tools and plugins that are part of the Cordova framework, but what if you want to do something within a Cordova application that isn’t exposed through one of the existing plugins (either core plugins or third-party plugins)? Well, you will have to go it alone and build your own plugins. In this chapter, I show you how to create your own plugins for Apache Cordova.

Cordova plugins are not new. They’ve been around for a long time, but starting with Cordova 3.0 and through the capabilities provided by Plugman and the Cordova CLI, plug-ins changed dramatically. They became more prevalent, plus more standardized in their implementation.

In this chapter, I show you how to create two plugins, ...

Get Apache Cordova 4 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.