Allow app from being excluded from recent list

This commit is contained in:
Sebastián Katzer
2017-01-29 11:16:53 +01:00
parent c2fedef6d2
commit 18fc64fddb
4 changed files with 53 additions and 0 deletions

View File

@@ -113,6 +113,13 @@ Override the back button on Android to go to background instead of closing the a
cordova.plugins.backgroundMode.overrideBackButton();
```
### Recent task list
Exclude the app from the recent task list works on Android 5.0+.
```javascript
cordova.plugins.backgroundMode.excludeFromTaskList();
```
### Notification
To indicate that the app is executing tasks in background and being paused would disrupt the user, the plug-in has to create a notification while in background - like a download progress bar.