Upgrading to PhoneGap 3.0
PhoneGap Build now uses PhoneGap 3.0 to build projects. This guide shows what you need to know to upgrade projects from the prior version 2.9.
Previously, core PhoneGap APIs (such as Camera and Notification) were
bundled by default with every release. They are now implemented as
self-contained plugins and must be explicitly declared. For example,
an app that relies on the Contacts API needs to include the following
in the config.xml
file:
<gap:plugin name="Contacts" value="org.apache.cordova.core.ContactManager" />
See Application Plugins for more information on plugins, and Plugins for PhoneGap Build for details relevant to remote builds. See The config.xml File for details on global configuration options, and Configuring Remote Builds for options specific to PhoneGap Build.