Skip to content

PhoneGap Build Installation

Chris Scott edited this page Apr 10, 2016 · 3 revisions

#Installation instructions for PhoneGap Build.#

Building with Gradle.

The Android version of Cordova Background Geolocation requires Gradle. This is a good thing:

  <preference name="phonegap-version" value="cli-5.2.0" />
  <preference name="android-build-tool" value="gradle" />

Add the plugin to config.xml

npm
  <plugin name="cordova-background-geolocation-lt" source="npm" />
Installing latest from edge

PhoneGap build now supports plugins from Github repos! Add cordova-background-geolocation plugin:

  <plugin spec="https://github.com/transistorsoft/cordova-background-geolocation.git"/>

That should be it!