We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8daf3da commit 0b5fd27Copy full SHA for 0b5fd27
lib/src/unsupported.dart
@@ -0,0 +1,16 @@
1
+import 'dart:io';
2
+
3
+import 'package:flutter_single_instance/flutter_single_instance.dart';
4
5
+class FlutterSingleInstanceUnsopported extends FlutterSingleInstance {
6
+ const FlutterSingleInstanceUnsopported() : super.internal();
7
8
+ @override
9
+ Future<String?> getProcessName(int pid) async => null;
10
11
12
+ Future<bool> isFirstInstance() async => true;
13
14
15
+ Future<File?> getPidFile(String processName) async => null;
16
+}
0 commit comments