fix: Fix database not loading on Android

This commit is contained in:
2026-03-08 15:24:39 +01:00
parent a41874692f
commit 4b4c914685
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ android {
buildTypes { buildTypes {
release { release {
// Externally signed using a security key // Externally signed using a security key
signingConfig null signingConfig = null
} }
} }
} }

View File

@@ -59,8 +59,8 @@ class DatabaseService {
// Allow initializing the database on Windows and Linux as well. // Allow initializing the database on Windows and Linux as well.
if (Platform.isLinux || Platform.isWindows) { if (Platform.isLinux || Platform.isWindows) {
sqfliteFfiInit(); sqfliteFfiInit();
}
databaseFactory = databaseFactoryFfi; databaseFactory = databaseFactoryFfi;
}
_db = await openDatabase( _db = await openDatabase(
'anitrack.db', 'anitrack.db',

View File

@@ -2,7 +2,7 @@ name: anitrack
description: An anime and manga tracker description: An anime and manga tracker
publish_to: "none" publish_to: "none"
version: 0.1.3+2012 version: 0.1.3+2013
environment: environment:
sdk: ^3.8.0 sdk: ^3.8.0