Book Image

Phonegap Essentials

By : Ivan Turkovic
Book Image

Phonegap Essentials

By: Ivan Turkovic

Overview of this book

Table of Contents (15 chapters)

npm


In April 2015, the Apache Cordova team decided to move their official plugin source to the http://www.npmjs.com repository. It is good to know that the existing way of hosting plugins will be deprecated in the near future. In this book, I am going to try to include both plugin IDs for the existing and future support as all the plugins are not yet available through npm, especially the third-party libraries. The npm plugins are available for installation with the release of PhoneGap version 5.0 and it will become the default source of the plugins.

The PhoneGap's core plugins will change their IDs from org.apache.cordova.* to cordova-plugin-*.

There will be no change in the handling of the new plugin installation; you will use the same command, only the plugin ID will determine where the plugin will be installed from. All the functionalities and behaviors will remain the same; it is good to know that npm will become the default plugin library in the future. Once the transition is done, you...