CW-572-Disable-battery-optimization (#1285)

* feat: Disable battery optimization on android

* fix: Add permission to androidmanifestbase file

* Increase the frequency of app running in background on aggressive mode

* Revert the sync mode frequency [skip ci]

* Fix translation

* increase frequency to 1 hour

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
This commit is contained in:
Adegoke David
2024-02-09 01:11:41 +02:00
committed by GitHub
co-authored by OmarHatem
parent 0832e62719
commit d6e10bdbd5
33 changed files with 200 additions and 8 deletions
+1 -1
View File
@@ -10,6 +10,6 @@ class SyncMode {
static final all = [
SyncMode("Disabled", SyncType.disabled, Duration.zero),
SyncMode("Unobtrusive", SyncType.unobtrusive, Duration(days: 1)),
SyncMode("Aggressive", SyncType.aggressive, Duration(hours: 6)),
SyncMode("Aggressive", SyncType.aggressive, Duration(hours: 1)),
];
}