Author SHA1 Message Date
fbachus 6c19d981ad Revert "build(mobile): deactivate sqlite debugging lib used for desktop"
keep development branch in a state to run on desktop

This reverts commit 5ead82b9c6.
2026-08-01 00:07:46 +02:00
fbachus 2b7b943ea2 doc(readme): clarify what to do with .env 2026-07-31 22:20:19 +02:00
2 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -23,11 +23,13 @@ For the VBB network in Berlin/Brandenburg
this should work for other public transit networks using the HAFAS api, but you will have to test this yourself
### The build part
Create a `.env` in the project root and add
Create a `.env` in the project root and add the following to it
```env
VBB_API_KEY=
VBB_API_URL=
VBB_API_KEY={YOUR_API_KEY}
VBB_API_URL={YOUR_API_URL}
```
For local builds and connected devices simply run `flutter run` in your terminal.
To build for linux:
+2 -2
View File
@@ -4,12 +4,12 @@ import 'api_handler.dart';
import 'transport_helper.dart';
import 'dart:async';
// import 'package:sqflite_common_ffi/sqflite_ffi.dart'; //for testing on desktop
import 'package:sqflite_common_ffi/sqflite_ffi.dart'; //for testing on desktop
void main() async {
await dotenv.load();
const String dbName = "oeffimasterTransportDb";
// databaseFactory = databaseFactoryFfi; // for debugging and desktop test
databaseFactory = databaseFactoryFfi; // for debugging and desktop test
DbHelper.initDb(dbName);
runApp(const MyApp());
}