Skip to content

03. Installation

Sebastián Katzer edited this page Mar 8, 2015 · 3 revisions

The plugin can be installed via Command-Line Interface. Its also published on PhoneGap Build and Cordova's Plugin Registry.

Local Environment

Requires setup and maintenance of your mobile development environment and different toolchains for each platform provider. This pre-installation is necessary regardless of whether you do the majority of your work in the SDK or use the CLI for your build cycle.

Use the following command to always use the latest version of the plugin:

cordova plugin add https://github.com/katzer/cordova-plugin-local-notifications

or to use an specific version:

# Plugin Registry
cordova plugin add [email protected]
# Github
cordova plugin add https://github.com/katzer/cordova-plugin-local-notifications#0.8.1

or to install a custom version use the optional --searchpath flag:

cordova plugin add de.appplant.cordova.plugin.local-notification --searchpath path

PhoneGap Build

Local development involves installing and maintaining multiple native SDKs as well as the Cordova/PhoneGap SDK. PhoneGap Build takes this headache away! Its a cloud service for compiling PhoneGap applications.

Add the following xml to your config.xml to always use the latest version of this plugin:

<gap:plugin name="de.appplant.cordova.plugin.local-notification" />

or to use an specific version:

<gap:plugin name="de.appplant.cordova.plugin.local-notification" version="0.8.1" />

More information can be found here.

Removing the Plugin

Use the following command to remove the plugin from your project:

cordova plugin rm de.appplant.cordova.plugin.local-notification
Clone this wiki locally