mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-14 11:34:54 +00:00
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.
|
||||
|
||||
```js
|
||||
cordova.plugins.backgroundMode.configure({ silent: true });
|
||||
cordova.plugins.backgroundMode.setDefaults({ silent: true });
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user