Fix incorrect method. (#295)
This commit is contained in:
parent
e9f072210e
commit
73621dc910
@ -164,7 +164,7 @@ __Note:__ All properties are optional - only override the things you need to.
|
|||||||
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.
|
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.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
cordova.plugins.backgroundMode.configure({ silent: true });
|
cordova.plugins.backgroundMode.setDefaults({ silent: true });
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user