mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-17 11:53:21 +00:00
18
README.md
18
README.md
@@ -68,16 +68,13 @@ More informations can be found [here][PGB_plugin].
|
||||
|
||||
|
||||
## ChangeLog
|
||||
#### Version 0.6.3 (not yet released)
|
||||
- [feature:] Silent mode for Android
|
||||
|
||||
#### Version 0.6.2 (14.12.2014)
|
||||
- [bugfix:] Type error
|
||||
- [bugfix:] Wrong default values for `isEnabled` and `isActive`.
|
||||
|
||||
#### Version 0.6.1 (14.12.2014)
|
||||
- [enhancement:] Set default settings through `setDefaults`.
|
||||
- [enhancement:] New method `isEnabled` to receive if mode is enabled.
|
||||
- [enhancement:] New method `isActive` to receive if mode is active.
|
||||
- [bugfix:] Events caused thread collision.
|
||||
|
||||
#### Further informations
|
||||
- The former `plugin.backgroundMode` namespace has been deprecated and will be removed with the next major release.
|
||||
- See [CHANGELOG.md][changelog] to get the full changelog for the plugin.
|
||||
@@ -229,6 +226,15 @@ cordova.plugins.backgroundMode.configure({
|
||||
})
|
||||
```
|
||||
|
||||
#### Run in background without notification
|
||||
In silent mode the plugin will not display a notification - which is not the default. Be aware that Android recommends adding a notification otherwise the OS may pause the app.
|
||||
|
||||
```javascript
|
||||
cordova.plugins.backgroundMode.configure({
|
||||
silent: true
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
## Contributing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user