From 73621dc91037dc27a7d8d6334cfed0a90889032a Mon Sep 17 00:00:00 2001 From: imchrg Date: Wed, 5 Jul 2017 18:17:22 +0900 Subject: [PATCH] Fix incorrect method. (#295) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e0e68d..6c10c60 100644 --- a/README.md +++ b/README.md @@ -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 }); ```