FEATURE add mock server and main_dev.dart for developement

This commit is contained in:
konrad.lys@eu.equinix.com
2023-05-18 09:26:39 +02:00
parent 8aeef30672
commit 5b0459963a
29 changed files with 717 additions and 152 deletions
+1
View File
@@ -121,6 +121,7 @@ void main() async {
});
final apiFactory = PaperlessApiFactoryImpl(sessionManager);
runApp(
MultiProvider(
providers: [
+10
View File
@@ -0,0 +1,10 @@
import 'package:mock_server/mock_server.dart';
import 'package:paperless_mobile/main.dart' as ParentMain;
void main() async {
await LocalMockApiServer().start();
ParentMain.main();
}