Skip to content

Commit 67664ef

Browse files
committed
flutter android sync dependency info update
1 parent fa15049 commit 67664ef

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

objectbox/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ dev_dependencies:
6868
```
6969
7070
* Install the packages: `flutter pub get`
71-
* XCode/iOS: under Architectures replace `${ARCHS_STANDARD)` with `arm64` (or `$ARCHS_STANDARD_64_BIT`). See [FAQ](#faq) for details.
71+
* XCode/iOS only: increase the deployment target to iOS 11 and, under Architectures, replace `${ARCHS_STANDARD}` with `arm64` (or `$ARCHS_STANDARD_64_BIT`). See [FAQ](#faq) for details.
72+
* Sync + Android only: in your `android/app/build.gradle` set `minSdkVersion 21` in section `android -> defaultConfig`.
7273

7374
### Dart Native
7475

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ android {
3838

3939
defaultConfig {
4040
applicationId "com.example.objectbox_demo"
41-
minSdkVersion 16
41+
minSdkVersion 21
4242
targetSdkVersion 28
4343
versionCode flutterVersionCode.toInteger()
4444
versionName flutterVersionName

sync_flutter_libs/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ android {
33
compileSdkVersion 28
44

55
defaultConfig {
6-
minSdkVersion 16
6+
minSdkVersion 21
77
}
88
lintOptions {
99
disable 'InvalidPackage'
@@ -16,5 +16,5 @@ repositories {
1616

1717
dependencies {
1818
// https://search.maven.org/search?q=g:io.objectbox%20objectbox-sync-android
19-
implementation "io.objectbox:objectbox-sync-android:2.9.2-RC@aar"
19+
implementation "io.objectbox:objectbox-sync-android:2.9.2-RC"
2020
}

0 commit comments

Comments
 (0)