Explorar o código

[fix]自启动权限问题

zk hai 1 ano
pai
achega
3ec1e1e19c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/module/record/record_handler.dart

+ 1 - 1
lib/module/record/record_handler.dart

@@ -209,7 +209,7 @@ class RecordHandler {
               foregroundTaskOptions: ForegroundTaskOptions(
                 eventAction: ForegroundTaskEventAction.once(),
                 autoRunOnBoot: false,
-                autoRunOnMyPackageReplaced: true,
+                autoRunOnMyPackageReplaced: false,
                 allowWakeLock: true,
                 allowWifiLock: false,
               ),