From f7b7a3315d2b857b8a5ee9a032c1c3cfe8607f1c Mon Sep 17 00:00:00 2001 From: Uwe Date: Mon, 14 Oct 2024 14:52:44 +0200 Subject: [PATCH] Update objectbox-android [4.0.0 -> 4.0.2] Bundled with C API 4.0.1 and core 4.0.2-2024-08-19 --- dev-doc/updating-c-library.md | 2 +- flutter_libs/android/build.gradle | 2 +- objectbox/CHANGELOG.md | 3 +++ .../flutter/objectbox_demo_relations/android/app/build.gradle | 2 +- sync_flutter_libs/android/build.gradle | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-doc/updating-c-library.md b/dev-doc/updating-c-library.md index 5641b6a3..75c15888 100644 --- a/dev-doc/updating-c-library.md +++ b/dev-doc/updating-c-library.md @@ -14,7 +14,7 @@ for Flutter (`flutter_libs` and `sync_flutter_libs` plugins) on Linux and Window For the Flutter plugins on Android ([view releases](https://github.com/objectbox/objectbox-java/releases)): ``` -./tool/set-android-version.sh 4.0.0 +./tool/set-android-version.sh 4.0.2 ``` For the Flutter plugins on iOS/macOS ([view releases](https://github.com/objectbox/objectbox-swift/releases)) diff --git a/flutter_libs/android/build.gradle b/flutter_libs/android/build.gradle index da7638ff..47fee065 100644 --- a/flutter_libs/android/build.gradle +++ b/flutter_libs/android/build.gradle @@ -52,6 +52,6 @@ android { // ObjectBox Android library that includes an ObjectBox C library version compatible with // the C API binding of the ObjectBox Dart package. // https://central.sonatype.com/search?q=g:io.objectbox%20objectbox-android - implementation "io.objectbox:objectbox-android:4.0.0" + implementation "io.objectbox:objectbox-android:4.0.2" } } diff --git a/objectbox/CHANGELOG.md b/objectbox/CHANGELOG.md index 9da32efc..fe428258 100644 --- a/objectbox/CHANGELOG.md +++ b/objectbox/CHANGELOG.md @@ -6,6 +6,9 @@ * Flutter for Linux/Windows, Dart Native: update to [objectbox-c 0.4.1](https://github.com/objectbox/objectbox-c/releases/tag/v0.4.1). * Flutter for iOS/macOS: update to [objectbox-swift 4.0.0](https://github.com/objectbox/objectbox-swift/releases/tag/v4.0.0). Existing projects may have to run `pod repo update` and `pod update ObjectBox`. +* Flutter for Android: update to [objectbox-android 4.0.2](https://github.com/objectbox/objectbox-java/releases/tag/V4.0.2). + If you are [using Admin](https://docs.objectbox.io/data-browser#admin-for-android), make sure to + update to `io.objectbox:objectbox-android-objectbrowser:4.0.2` in `android/app/build.gradle`. ## 4.0.2 (2024-08-14) diff --git a/objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle b/objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle index 0e8ca9f3..8e866bc9 100644 --- a/objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle +++ b/objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle @@ -82,5 +82,5 @@ dependencies { // Add objectbox-android-objectbrowser only for debug builds. // Warning: when objectbox_flutter_libs updates check if version // needs update, e.g. check https://github.com/objectbox/objectbox-dart/releases. - debugImplementation("io.objectbox:objectbox-android-objectbrowser:4.0.0") + debugImplementation("io.objectbox:objectbox-android-objectbrowser:4.0.2") } diff --git a/sync_flutter_libs/android/build.gradle b/sync_flutter_libs/android/build.gradle index 9977c637..7f5aabef 100644 --- a/sync_flutter_libs/android/build.gradle +++ b/sync_flutter_libs/android/build.gradle @@ -52,6 +52,6 @@ android { // ObjectBox Android library that includes an ObjectBox C library version compatible with // the C API binding of the ObjectBox Dart package. // https://central.sonatype.com/search?q=g:io.objectbox%20objectbox-sync-android - implementation "io.objectbox:objectbox-sync-android:4.0.0" + implementation "io.objectbox:objectbox-sync-android:4.0.2" } }