diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bdc56f..61ea32a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ## ChangeLog -#### Version 0.6.0 (not yet released) +#### Version 0.6.0 (14.12.2014) - [feature:] Android support - [feature:] `onactivate`, `ondeactivate` and `onfailure` callbacks. - [___change___:] Disabled by default diff --git a/README.md b/README.md index a11570c..94e8f71 100644 --- a/README.md +++ b/README.md @@ -50,20 +50,25 @@ cordova plugin add de.appplant.cordova.plugin.background-mode --searchpath path or to use the last stable version: ```bash # ~~ stable version ~~ -cordova plugin add de.appplant.cordova.plugin.background-mode@0.5.0 +cordova plugin add de.appplant.cordova.plugin.background-mode@0.6.0 +``` + +To remove the plug-in, run the following command: +```bash +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: ```xml - + ``` More informations can be found [here][PGB_plugin]. ## ChangeLog -#### Version 0.6.0 (not yet released) +#### Version 0.6.0 (14.12.2014) - [feature:] Android support - [feature:] `onactivate`, `ondeactivate` and `onfailure` callbacks. - [___change___:] Disabled by default diff --git a/appbeep.wav b/appbeep.wav new file mode 100644 index 0000000..24a13d4 Binary files /dev/null and b/appbeep.wav differ diff --git a/plugin.xml b/plugin.xml index dd9f4cc..0fa7905 100644 --- a/plugin.xml +++ b/plugin.xml @@ -50,7 +50,7 @@ - + diff --git a/res/silent.wav b/res/silent.wav deleted file mode 100644 index 1e1405c..0000000 Binary files a/res/silent.wav and /dev/null differ diff --git a/src/ios/APPBackgroundMode.m b/src/ios/APPBackgroundMode.m index b0429a1..ee7f7af 100644 --- a/src/ios/APPBackgroundMode.m +++ b/src/ios/APPBackgroundMode.m @@ -128,7 +128,7 @@ NSString *const kAPPBackgroundModeFailureEvent = @"failure"; * Configure the audio player. */ - (void) configureAudioPlayer { - NSString* path = [[NSBundle mainBundle] pathForResource:@"silent" + NSString* path = [[NSBundle mainBundle] pathForResource:@"appbeep" ofType:@"wav"]; NSURL* url = [NSURL fileURLWithPath:path];