13. 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 while—but with the release of Cordova 3.0 and the capabilities provided by plugman and the Cordova CLI, plugins have changed a bit. In this chapter, I show you how to create a JavaScript-only plugin as well as a native plugin for both Android and iOS. The process is ...
Get Apache Cordova 3 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.