Skip to content

Commit 2b28428

Browse files
authored
chore: upgrade dependencies (#24)
* chore: update dependencies and SDK version * chore: bump version to 0.0.12 and update dependencies * chore: upgrade Flutter SDK to version 3.27.3
1 parent 77103a2 commit 2b28428

File tree

22 files changed

+328
-142
lines changed

22 files changed

+328
-142
lines changed

.github/actions/get-flutter/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77
- uses: subosito/flutter-action@v2
88
with:
9-
flutter-version: '3.24.3'
9+
flutter-version: '3.27.3'
1010
channel: 'stable'
1111
cache: true
1212
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.0.12
2+
3+
* Update dependencies
4+
* Update very_good_analysis
5+
* Fix analyzer issues
6+
17
## 0.0.11
28

39
* Improve documentation

example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ android {
4545
applicationId "com.example.example"
4646
// You can update the following values to match your application needs.
4747
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
48-
minSdkVersion flutter.minSdkVersion
48+
minSdkVersion 23
4949
targetSdkVersion flutter.targetSdkVersion
5050
versionCode flutterVersionCode.toInteger()
5151
versionName flutterVersionName

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip

example/android/settings.gradle

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,21 @@ pluginManagement {
55
def flutterSdkPath = properties.getProperty("flutter.sdk")
66
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
77
return flutterSdkPath
8-
}
9-
settings.ext.flutterSdkPath = flutterSdkPath()
8+
}()
109

11-
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
10+
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
1211

1312
repositories {
1413
google()
1514
mavenCentral()
1615
gradlePluginPortal()
1716
}
18-
19-
plugins {
20-
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
21-
}
2217
}
2318

2419
plugins {
2520
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
26-
id "com.android.application" version "7.3.0" apply false
21+
id "com.android.application" version "8.1.0" apply false
22+
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
2723
}
2824

2925
include ":app"

example/ios/Podfile.lock

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- flutter_secure_storage (6.0.0):
3+
- flutter_secure_storage_darwin (10.0.0):
44
- Flutter
5+
- FlutterMacOS
56
- path_provider_foundation (0.0.1):
67
- Flutter
78
- FlutterMacOS
8-
- sqflite (0.0.3):
9+
- sqflite_darwin (0.0.4):
910
- Flutter
1011
- FlutterMacOS
1112

1213
DEPENDENCIES:
1314
- Flutter (from `Flutter`)
14-
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
15+
- flutter_secure_storage_darwin (from `.symlinks/plugins/flutter_secure_storage_darwin/darwin`)
1516
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
16-
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
17+
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
1718

1819
EXTERNAL SOURCES:
1920
Flutter:
2021
:path: Flutter
21-
flutter_secure_storage:
22-
:path: ".symlinks/plugins/flutter_secure_storage/ios"
22+
flutter_secure_storage_darwin:
23+
:path: ".symlinks/plugins/flutter_secure_storage_darwin/darwin"
2324
path_provider_foundation:
2425
:path: ".symlinks/plugins/path_provider_foundation/darwin"
25-
sqflite:
26-
:path: ".symlinks/plugins/sqflite/darwin"
26+
sqflite_darwin:
27+
:path: ".symlinks/plugins/sqflite_darwin/darwin"
2728

2829
SPEC CHECKSUMS:
2930
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
30-
flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
31-
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
32-
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
31+
flutter_secure_storage_darwin: ce237a8775b39723566dc72571190a3769d70468
32+
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
33+
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
3334

3435
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
3536

36-
COCOAPODS: 1.15.2
37+
COCOAPODS: 1.16.2

example/lib/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// This is an example app, so we don't need public member API docs.
12
// ignore_for_file: public_member_api_docs
23

34
import 'dart:developer' as developer;
@@ -48,7 +49,7 @@ class _MyHomePageState extends State<MyHomePage> {
4849

4950
Future<void> writeDb() async {
5051
await TheStorage.i().set('myKey', 'myValue');
51-
developer.log("read from DB: myKey: 'myValue'");
52+
developer.log("write to DB: myKey: 'myValue'");
5253
}
5354

5455
Future<void> readDb() async {

example/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
import FlutterMacOS
66
import Foundation
77

8-
import flutter_secure_storage_macos
8+
import flutter_secure_storage_darwin
99
import path_provider_foundation
10-
import sqflite
10+
import sqflite_darwin
1111

1212
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
13-
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
13+
FlutterSecureStorageDarwinPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageDarwinPlugin"))
1414
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
1515
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
1616
}

example/macos/Podfile.lock

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
PODS:
2+
- flutter_secure_storage_darwin (10.0.0):
3+
- Flutter
4+
- FlutterMacOS
5+
- FlutterMacOS (1.0.0)
6+
- path_provider_foundation (0.0.1):
7+
- Flutter
8+
- FlutterMacOS
9+
- sqflite_darwin (0.0.4):
10+
- Flutter
11+
- FlutterMacOS
12+
13+
DEPENDENCIES:
14+
- flutter_secure_storage_darwin (from `Flutter/ephemeral/.symlinks/plugins/flutter_secure_storage_darwin/darwin`)
15+
- FlutterMacOS (from `Flutter/ephemeral`)
16+
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
17+
- sqflite_darwin (from `Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin`)
18+
19+
EXTERNAL SOURCES:
20+
flutter_secure_storage_darwin:
21+
:path: Flutter/ephemeral/.symlinks/plugins/flutter_secure_storage_darwin/darwin
22+
FlutterMacOS:
23+
:path: Flutter/ephemeral
24+
path_provider_foundation:
25+
:path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin
26+
sqflite_darwin:
27+
:path: Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin
28+
29+
SPEC CHECKSUMS:
30+
flutter_secure_storage_darwin: ce237a8775b39723566dc72571190a3769d70468
31+
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
32+
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
33+
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
34+
35+
PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367
36+
37+
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)