Added note about PhoneGap Build

This commit is contained in:
Sebastián Katzer 2014-02-26 01:15:20 +01:00
parent f27603ea67
commit 804e4725ab

View File

@ -5,27 +5,45 @@ A bunch of background mode plugins for Cordova 3.x.x
by Sebastián Katzer ([github.com/katzer](https://github.com/katzer)) by Sebastián Katzer ([github.com/katzer](https://github.com/katzer))
## Supported Platforms ## Supported Platforms
- **iOS** (>=5) - **iOS** (>=5)
- **Android** - **Android**
- **WP8** - **WP8**
## Adding the Plugin to your project ## Adding the Plugin to your project
Through the [Command-line Interface](http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface): Through the [Command-line Interface](http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface):
```bash ```bash
# from master: # from master:
cordova plugin add https://github.com/katzer/cordova-plugin-background-mode.git cordova plugin add https://github.com/katzer/cordova-plugin-background-mode.git
cordova build
# last version: # last version:
cordova plugin add de.appplant.cordova.plugin.background-mode cordova plugin add de.appplant.cordova.plugin.background-mode
cordova build
``` ```
## Removing the Plugin from your project ## Removing the Plugin from your project
Through the [Command-line Interface](http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface): Through the [Command-line Interface](http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface):
``` ```
cordova plugin rm de.appplant.cordova.plugin.background-mode cordova plugin rm de.appplant.cordova.plugin.background-mode
``` ```
## PhoneGap Build
Add the following xml to your config.xml to always use the latest version of this plugin:
```
<gap:plugin name="de.appplant.cordova.plugin.background-mode" />
```
or to use this exact version:
```
<gap:plugin name="de.appplant.cordova.plugin.background-mode" version="0.5.0" />
```
More informations can be found [here](https://build.phonegap.com/plugins/490).
## Release Notes ## Release Notes
#### Version 0.5.0 (13.02.2014) #### Version 0.5.0 (13.02.2014)
- Added Android support. - Added Android support.