Skip to content

Commit

Permalink
chore(native_storage): Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dnys1 committed Jul 25, 2024
1 parent c0d705b commit bb2e8b6
Show file tree
Hide file tree
Showing 9 changed files with 1,732 additions and 1,738 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
5 changes: 5 additions & 0 deletions packages/native/storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.2.0-wip

- chore: Updates `ffigen` and `jnigen` to latest versions
- chore: Bumps min SDK to 3.4

## 0.1.7

- fix: Ensure only one `NativeStorage` instance exists for any namespace/scope pair
Expand Down
4 changes: 3 additions & 1 deletion packages/native/storage/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ group 'dev.celest.native_storage'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.7.21'
// Matches package:jni
// https://github.com/dart-lang/native/blob/main/pkgs/jni/android/build.gradle#L7
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion packages/native/storage/example/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pluginManagement {

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "com.android.application" version '7.4.2' apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}

Expand Down
2 changes: 1 addition & 1 deletion packages/native/storage/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
flutter_lints: ^4.0.0
integration_test:
sdk: flutter
test: ^1.24.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ self.postMessage('ready');
Future<void> spawn() async {
final ready = Completer<void>();
try {
_worker = web.Worker(_workerEntrypoint);
_worker = web.Worker(_workerEntrypoint.toJS);
} on Object {
ready.completeError(NativeStorageException('Failed to spawn worker'));
return ready.future;
Expand Down
Loading

0 comments on commit bb2e8b6

Please sign in to comment.