From 5fa8c6496076422cd3f117978654e76edbda51dc Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 20 Mar 2026 16:59:45 +0100 Subject: Add path_provider package This is required to get the "Application Support" directory on Linux, Android, iOS, MacOS and Windows. This folder is used to store persistence of the Sia app. --- pubspec.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'pubspec.yaml') diff --git a/pubspec.yaml b/pubspec.yaml index ec03450..a02bef0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -10,6 +10,7 @@ dependencies: flutter: sdk: flutter mqtt_client: ^10.11.3 + path_provider: ^2.1.5 provider: ^6.1.5 dev_dependencies: -- cgit v1.3 From 2aa1aa0d29fd551509d4a1ebb2a0a5470fc460d7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 20 Mar 2026 17:17:08 +0100 Subject: Add sqlite3 package Application data should be stored in a single sqlite3 database. This allows pretty mature and powerful data storage which works on Linux, Android, iOS, MacOS and Windows. --- pubspec.lock | 8 ++++++++ pubspec.yaml | 1 + 2 files changed, 9 insertions(+) (limited to 'pubspec.yaml') diff --git a/pubspec.lock b/pubspec.lock index cbe497a..a861593 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -392,6 +392,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.10.2" + sqlite3: + dependency: "direct main" + description: + name: sqlite3 + sha256: caa693ad15a587a2b4fde093b728131a1827903872171089dedb16f7665d3a91 + url: "https://pub.dev" + source: hosted + version: "3.2.0" stack_trace: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index a02bef0..a80996c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,6 +12,7 @@ dependencies: mqtt_client: ^10.11.3 path_provider: ^2.1.5 provider: ^6.1.5 + sqlite3: ^3.2.0 dev_dependencies: flutter_test: -- cgit v1.3 From f021bffe2b37af563037195e0e93a74849cd860b Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 20 Mar 2026 19:58:57 +0100 Subject: Add package path This is added to join paths. --- pubspec.lock | 2 +- pubspec.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'pubspec.yaml') diff --git a/pubspec.lock b/pubspec.lock index a861593..30521d2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -276,7 +276,7 @@ packages: source: hosted version: "9.3.0" path: - dependency: transitive + dependency: "direct main" description: name: path sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" diff --git a/pubspec.yaml b/pubspec.yaml index a80996c..605d9d4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -10,6 +10,7 @@ dependencies: flutter: sdk: flutter mqtt_client: ^10.11.3 + path: ^1.9.1 path_provider: ^2.1.5 provider: ^6.1.5 sqlite3: ^3.2.0 -- cgit v1.3