O'Reilly logo

PhoneGap 4 Mobile Application Development Cookbook by Zainul Setyo Pamungkas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The plugin repository

Cordova enables developers to create their own plugin to extend hybrid application capabilities. This plugin system enables hybrid applications to get native capabilities. Almost any native functionality can be implemented using plugins.

Sometimes, creating our own plugin will take more time. We have to know each of the platform's languages, create code specific to each platform, and then create a JavaScript interface to make it work with an HTML application. It would be easier for us to use an existing plugin or an open source Cordova plugin.

Luckily, there is a centralized repository of Cordova plugins. We can search for the plugin we need and then add it to our Cordova application.

How to do it…

To search and use a Cordova ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required