refactor(mobile): add Isar DB & Store class (#1574)

* refactor(mobile): add Isar DB & Store class

new Store: globally accessible key-value store like Hive (but based on Isar)

replace first few places of Hive usage with the new Store

* reduce max. DB size to prevent errors on older iOS devices

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Fynn Petersen-Frey
2023-02-09 18:32:08 +01:00
committed by GitHub
parent adb265794c
commit 911c35a7f1
11 changed files with 796 additions and 18 deletions

View File

@@ -239,6 +239,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.3"
dartx:
dependency: transitive
description:
name: dartx
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
easy_image_viewer:
dependency: "direct main"
description:
@@ -547,6 +554,27 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
isar:
dependency: "direct main"
description:
name: isar
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.5"
isar_flutter_libs:
dependency: "direct main"
description:
name: isar_flutter_libs
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.5"
isar_generator:
dependency: "direct dev"
description:
name: isar_generator
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.5"
js:
dependency: transitive
description:
@@ -1063,6 +1091,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.12"
time:
dependency: transitive
description:
name: time
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.3"
timing:
dependency: transitive
description:
@@ -1301,6 +1336,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.0"
xxh3:
dependency: transitive
description:
name: xxh3
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
yaml:
dependency: transitive
description: