O'Reilly logo

PhoneGap Essentials by Ivan Turkovic

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

Chapter 4. Plugin Support

The access to any platform API is disabled by default, so all the features are nicely packed in separate plugins that you can add and manage based on your needs. There are two ways of managing them, using the Cordova command-line interface or being specific for each platform using Plugman (https://github.com/apache/cordova-plugman). This chapter will cover the following topics:

  • Introducing plugins
  • The command-line interface
  • Plugman
  • npm
  • Plugins

Introducing plugins

PhoneGap was created with an idea to be able to create a hybrid application that is portable over different mobile platforms, while being able to use the features that are limited to the native devices. This could not be possible without the plugins that are responsible ...

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