Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Outdated: Flutter Now Uses Updated NDK Version #702

Open
Danilo-Mota opened this issue Dec 23, 2024 · 1 comment
Open

Documentation Outdated: Flutter Now Uses Updated NDK Version #702

Danilo-Mota opened this issue Dec 23, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Danilo-Mota
Copy link

The Getting started documentation mentions the need to manually update the ndkVersion in the build.gradle file because Flutter defaults to an older NDK version 23.1.7779620, which is incompatible with objectbox_flutter_libs and path_provider_android.

However, as of https://github.com/flutter/flutter/blob/master/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy
Flutter now uses NDK 26.3.11579264 by default. This makes the manual update of ndkVersion unnecessary for new Flutter versions.

image

@Danilo-Mota Danilo-Mota added the enhancement New feature or request label Dec 23, 2024
@greenrobot-team
Copy link
Member

greenrobot-team commented Jan 13, 2025

Thanks for reporting!

It appears the relevant commit was shipped with Flutter 3.27.0.

We should

  • verify removing this produces no warning or error when using the new Flutter SDK,
  • update the note to mention this no longer required once using Flutter 3.27.0,
  • add a note to the examples where this is used that it can be removed once only testing Flutter 3.27.0 or higher

(internal issue objectbox-dart#127)

@greenrobot-team greenrobot-team added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants