From 91e389f6cb44d4af0eea0d41340bae3cbfcdfd54 Mon Sep 17 00:00:00 2001 From: matias murad Date: Sat, 24 Jun 2023 00:34:45 +0200 Subject: [PATCH] auto start on boot bool false --- .../main/java/id/flutter/flutter_background_service/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_background_service_android/android/src/main/java/id/flutter/flutter_background_service/Config.java b/packages/flutter_background_service_android/android/src/main/java/id/flutter/flutter_background_service/Config.java index f0e5e044..9ad94440 100644 --- a/packages/flutter_background_service_android/android/src/main/java/id/flutter/flutter_background_service/Config.java +++ b/packages/flutter_background_service_android/android/src/main/java/id/flutter/flutter_background_service/Config.java @@ -11,7 +11,7 @@ public Config(Context context) { } public boolean isAutoStartOnBoot() { - return pref.getBoolean("auto_start_on_boot", true); + return pref.getBoolean("auto_start_on_boot", false); } public void setAutoStartOnBoot(boolean value) {