#22 Add switch for run in bg

This commit is contained in:
lollipopkit
2023-03-28 17:35:49 +08:00
parent abee470afc
commit 30dddf462e
12 changed files with 71 additions and 23 deletions

View File

@@ -1,3 +1,5 @@
import 'package:flutter/services.dart';
/// RegExp for number
final numReg = RegExp(r'\s{1,}');
@@ -6,3 +8,7 @@ const privateKeyMaxSize = 20 * 1024;
/// Max debug log lines
const maxDebugLogLines = 100;
/// Method Channels
const pkgName = 'tech.lolli.toolbox';
const bgRunChannel = MethodChannel('$pkgName/app_retain');