Skip to content

Commit

Permalink
Follow-up: objectbox-android 4.1.0 requires Android 5.0 (API level 21)
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Feb 4, 2025
1 parent 282510d commit e22bc41
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flutter_libs/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {
}

defaultConfig {
minSdkVersion 19 // ObjectBox Android requires Android 4.4 (API level 19)
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions objectbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## latest

* Flutter for Android: requires Android 5.0 (API level 21).
* Vector Search: You can now use the new `VectorDistanceType.GEO` distance-type to perform vector searches on
geographical coordinates. This is particularly useful for location-based applications.
* Flutter for Linux/Windows, Dart Native: update to [objectbox-c 4.1.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.1.0).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ android {
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
// minSdkVersion flutter.minSdkVersion
minSdkVersion 19 // ObjectBox requires at least SDK 19 (Android 4.4)
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ android {
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
// minSdkVersion flutter.minSdkVersion
minSdkVersion 19 // ObjectBox requires at least SDK 19 (Android 4.4)
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down

0 comments on commit e22bc41

Please sign in to comment.