Skip to content

Commit

Permalink
Replace sound file
Browse files Browse the repository at this point in the history
  • Loading branch information
katzer committed Dec 13, 2014
1 parent a472777 commit c20c90c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
cordova plugin add [email protected]
```

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
<gap:plugin name="de.appplant.cordova.plugin.background-mode" version="0.5.0" />
<gap:plugin name="de.appplant.cordova.plugin.background-mode" version="0.6.0" />
```

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
Expand Down
Binary file added appbeep.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</array>
</config-file>

<resource-file src="res/silent.wav" />
<resource-file src="appbeep.wav" />

<header-file src="src/ios/APPBackgroundMode.h" />
<source-file src="src/ios/APPBackgroundMode.m" />
Expand Down
Binary file removed res/silent.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ios/APPBackgroundMode.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ - (void) stopKeepingAwake {
* 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];
Expand Down

0 comments on commit c20c90c

Please sign in to comment.