objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

Documentation Outdated: Flutter Now Uses Updated NDK Version

Open Danilo-Mota opened this issue 1 year ago • 2 comments

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 avatar Dec 23 '24 18:12 Danilo-Mota

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 avatar Jan 13 '25 09:01 greenrobot-team

Hi! I noticed this documentation issue and would like to contribute a fix. I'm new to open source contributions, so please let me know if this issue is still available to work on. Thanks!

Ghoulayush avatar Jun 25 '25 03:06 Ghoulayush