Skip to content

Commit f4b6f81

Browse files
Flutter demos: use flutter.ndkVersion again #127
Testing with Flutter 3.29+ and the NDK version was updated with 3.27 already.
1 parent 0e16d82 commit f4b6f81

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,7 @@ if (flutterVersionName == null) {
2525
android {
2626
namespace "com.example.objectbox_demo"
2727
compileSdkVersion flutter.compileSdkVersion
28-
// ObjectBox: Flutter defaults to NDK 23.1.7779620, but
29-
// - objectbox_flutter_libs requires Android NDK 25.1.8937393
30-
// - path_provider_android requires Android NDK 25.1.8937393
31-
// Until Flutter uses a newer version (https://github.com/flutter/flutter/commit/919bed6e0a18bd5b76fb581ede10121f8c14a6f7)
32-
// manually set the required one:
33-
// ndkVersion flutter.ndkVersion
34-
ndkVersion = "25.1.8937393"
28+
ndkVersion flutter.ndkVersion
3529

3630
compileOptions {
3731
sourceCompatibility JavaVersion.VERSION_1_8

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,7 @@ if (flutterVersionName == null) {
2525
android {
2626
namespace "com.example.objectbox_demo_relations"
2727
compileSdkVersion flutter.compileSdkVersion
28-
// ObjectBox: Flutter defaults to NDK 23.1.7779620, but
29-
// - objectbox_flutter_libs requires Android NDK 25.1.8937393
30-
// - path_provider_android requires Android NDK 25.1.8937393
31-
// Until Flutter uses a newer version (https://github.com/flutter/flutter/commit/919bed6e0a18bd5b76fb581ede10121f8c14a6f7)
32-
// manually set the required one:
33-
// ndkVersion flutter.ndkVersion
34-
ndkVersion = "25.1.8937393"
28+
ndkVersion flutter.ndkVersion
3529

3630
compileOptions {
3731
sourceCompatibility JavaVersion.VERSION_1_8

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,7 @@ if (flutterVersionName == null) {
2525
android {
2626
namespace "com.example.objectbox_demo_sync"
2727
compileSdkVersion flutter.compileSdkVersion
28-
// ObjectBox: Flutter defaults to NDK 23.1.7779620, but
29-
// - objectbox_flutter_libs requires Android NDK 25.1.8937393
30-
// - path_provider_android requires Android NDK 25.1.8937393
31-
// Until Flutter uses a newer version (https://github.com/flutter/flutter/commit/919bed6e0a18bd5b76fb581ede10121f8c14a6f7)
32-
// manually set the required one:
33-
// ndkVersion flutter.ndkVersion
34-
ndkVersion = "25.1.8937393"
28+
ndkVersion flutter.ndkVersion
3529

3630
compileOptions {
3731
sourceCompatibility JavaVersion.VERSION_1_8

0 commit comments

Comments
 (0)