mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-17 20:12:32 -06:00
FEATURE add mock server and main_dev.dart for developement
This commit is contained in:
@@ -121,6 +121,7 @@ void main() async {
|
||||
});
|
||||
|
||||
final apiFactory = PaperlessApiFactoryImpl(sessionManager);
|
||||
|
||||
runApp(
|
||||
MultiProvider(
|
||||
providers: [
|
||||
|
||||
10
lib/main_dev.dart
Normal file
10
lib/main_dev.dart
Normal 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user