mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-15 03:54:54 +00:00
Wrong default values for isEnabled
and isActive
This commit is contained in:
parent
db7006cb18
commit
c4a1a412d1
@ -1,4 +1,8 @@
|
|||||||
## ChangeLog
|
## ChangeLog
|
||||||
|
#### 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)
|
#### Version 0.6.1 (14.12.2014)
|
||||||
- [enhancement:] Set default settings through `setDefaults`.
|
- [enhancement:] Set default settings through `setDefaults`.
|
||||||
- [enhancement:] New method `isEnabled` to receive if mode is enabled.
|
- [enhancement:] New method `isEnabled` to receive if mode is enabled.
|
||||||
|
@ -68,6 +68,10 @@ More informations can be found [here][PGB_plugin].
|
|||||||
|
|
||||||
|
|
||||||
## ChangeLog
|
## ChangeLog
|
||||||
|
#### Version 0.6.2 (not yet released)
|
||||||
|
- [bugfix:] Type error
|
||||||
|
- [bugfix:] Wrong default values for `isEnabled` and `isActive`.
|
||||||
|
|
||||||
#### Version 0.6.1 (14.12.2014)
|
#### Version 0.6.1 (14.12.2014)
|
||||||
- [enhancement:] Set default settings through `setDefaults`.
|
- [enhancement:] Set default settings through `setDefaults`.
|
||||||
- [enhancement:] New method `isEnabled` to receive if mode is enabled.
|
- [enhancement:] New method `isEnabled` to receive if mode is enabled.
|
||||||
|
@ -46,14 +46,14 @@ channel.onCordovaReady.subscribe(function () {
|
|||||||
*
|
*
|
||||||
* Flag indicated if the mode is enabled.
|
* Flag indicated if the mode is enabled.
|
||||||
*/
|
*/
|
||||||
exports._isEnabled = true;
|
exports._isEnabled = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
*
|
*
|
||||||
* Flag indicated if the mode is active.
|
* Flag indicated if the mode is active.
|
||||||
*/
|
*/
|
||||||
exports._isActive = true;
|
exports._isActive = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
|
Loading…
Reference in New Issue
Block a user