Fix headless mode
This commit is contained in:
parent
32954b0a80
commit
5c52efb937
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ class Preferences {
|
|||
static bg.Config geolocationConfig() {
|
||||
final heartbeatInterval = instance.getInt(heartbeat) ?? 0;
|
||||
return bg.Config(
|
||||
enableHeadless: true,
|
||||
stopOnTerminate: false,
|
||||
startOnBoot: true,
|
||||
desiredAccuracy: switch (instance.getString(accuracy)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue