Fix incorrect method. (#295)

This commit is contained in:
imchrg 2017-07-05 18:17:22 +09:00 committed by Sebastián Katzer
parent e9f072210e
commit 73621dc910

View File

@ -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 });
```