Skip to content

Commit e22bc41

Browse files
Follow-up: objectbox-android 4.1.0 requires Android 5.0 (API level 21)
1 parent 282510d commit e22bc41

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

flutter_libs/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ android {
4545
}
4646

4747
defaultConfig {
48-
minSdkVersion 19 // ObjectBox Android requires Android 4.4 (API level 19)
48+
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
4949
}
5050

5151
dependencies {

objectbox/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## latest
22

3+
* Flutter for Android: requires Android 5.0 (API level 21).
34
* Vector Search: You can now use the new `VectorDistanceType.GEO` distance-type to perform vector searches on
45
geographical coordinates. This is particularly useful for location-based applications.
56
* Flutter for Linux/Windows, Dart Native: update to [objectbox-c 4.1.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.1.0).

objectbox/example/flutter/objectbox_demo/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ android {
4747
// You can update the following values to match your application needs.
4848
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
4949
// minSdkVersion flutter.minSdkVersion
50-
minSdkVersion 19 // ObjectBox requires at least SDK 19 (Android 4.4)
50+
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
5151
targetSdkVersion flutter.targetSdkVersion
5252
versionCode flutterVersionCode.toInteger()
5353
versionName flutterVersionName

objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ android {
4747
// You can update the following values to match your application needs.
4848
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
4949
// minSdkVersion flutter.minSdkVersion
50-
minSdkVersion 19 // ObjectBox requires at least SDK 19 (Android 4.4)
50+
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
5151
targetSdkVersion flutter.targetSdkVersion
5252
versionCode flutterVersionCode.toInteger()
5353
versionName flutterVersionName

0 commit comments

Comments
 (0)