Skip to content

Commit 3a2f021

Browse files
Examples: revert to default Android SDK of Flutter #127
Tested Flutter version is higher than 3.19.0 now, so no need to override any longer.
1 parent afe57f1 commit 3a2f021

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ if (flutterVersionName == null) {
2424

2525
android {
2626
namespace "com.example.objectbox_demo"
27-
// ObjectBox: set compileSdkVersion 34 for path_provider_android plugin;
28-
// this can be removed once minimum tested Flutter version is 3.19.0.
29-
// compileSdkVersion flutter.compileSdkVersion
30-
compileSdkVersion 34
27+
compileSdkVersion flutter.compileSdkVersion
3128
// ObjectBox: Flutter defaults to NDK 23.1.7779620, but
3229
// - objectbox_flutter_libs requires Android NDK 25.1.8937393
3330
// - path_provider_android requires Android NDK 25.1.8937393

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ if (flutterVersionName == null) {
2424

2525
android {
2626
namespace "com.example.objectbox_demo_relations"
27-
// ObjectBox: set compileSdkVersion 34 for path_provider_android plugin;
28-
// this can be removed once minimum tested Flutter version is 3.19.0.
29-
// compileSdkVersion flutter.compileSdkVersion
30-
compileSdkVersion 34
27+
compileSdkVersion flutter.compileSdkVersion
3128
// ObjectBox: Flutter defaults to NDK 23.1.7779620, but
3229
// - objectbox_flutter_libs requires Android NDK 25.1.8937393
3330
// - path_provider_android requires Android NDK 25.1.8937393

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ if (flutterVersionName == null) {
2424

2525
android {
2626
namespace "com.example.objectbox_demo_sync"
27-
// ObjectBox: set compileSdkVersion 34 for path_provider_android plugin;
28-
// this can be removed once minimum tested Flutter version is 3.19.0.
29-
// compileSdkVersion flutter.compileSdkVersion
30-
compileSdkVersion 34
27+
compileSdkVersion flutter.compileSdkVersion
3128
// ObjectBox: Flutter defaults to NDK 23.1.7779620, but
3229
// - objectbox_flutter_libs requires Android NDK 25.1.8937393
3330
// - path_provider_android requires Android NDK 25.1.8937393

0 commit comments

Comments
 (0)