Explorar el Código

[fix]自启动权限问题

zk hace 1 año
padre
commit
3ec1e1e19c
Se han modificado 1 ficheros con 1 adiciones y 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,
               ),