fix: Fix database not loading on Android
This commit is contained in:
@@ -33,7 +33,7 @@ android {
|
||||
buildTypes {
|
||||
release {
|
||||
// Externally signed using a security key
|
||||
signingConfig null
|
||||
signingConfig = null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,8 +59,8 @@ class DatabaseService {
|
||||
// Allow initializing the database on Windows and Linux as well.
|
||||
if (Platform.isLinux || Platform.isWindows) {
|
||||
sqfliteFfiInit();
|
||||
}
|
||||
databaseFactory = databaseFactoryFfi;
|
||||
}
|
||||
|
||||
_db = await openDatabase(
|
||||
'anitrack.db',
|
||||
|
||||
@@ -2,7 +2,7 @@ name: anitrack
|
||||
description: An anime and manga tracker
|
||||
publish_to: "none"
|
||||
|
||||
version: 0.1.3+2012
|
||||
version: 0.1.3+2013
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.0
|
||||
|
||||
Reference in New Issue
Block a user