-
Donghyun Kim authored
<img width="1119" alt="image" src="https://github.com/flutter/flutter/assets/66480156/e2e8eed1-3bef-436c-b21f-3891bdbe05bb"> In most cases, a FFI plugin doesn't need its own specific Android NDK version. Just following the Flutter app project's NDK version is enough. If a Flutter app project depends on multiple FFI plugins that use different Android NDK versions, it can be quite wasteful and use excessive disk space due to multiple NDK installations. Using Flutter app project's NDK version is also less error-prone because upgrading the Flutter SDK would be enough when upgrading FFI plugins(If project's `ndkVersion` is `flutter.ndkVersion`), without messing with Android NDK installations. This problem was discussed in some actual FFI plugin repositories, and they are striving to find their own solutions: - https://github.com/superlistapp/super_native_extensions/issues/143#issuecomment-1646207706 - https://github.com/cunarist/rust-in-flutter/discussions/60#discussioncomment-6484218 - https://github.com/rive-app/rive-flutter/issues/320 - https://github.com/juicycleff/flutter-unity-view-widget/issues/832
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
app | ||
app_integration_test/integration_test | ||
app_shared | ||
app_test_widget/test | ||
cocoapods | ||
module | ||
package | ||
plugin | ||
plugin_ffi | ||
plugin_shared | ||
skeleton | ||
README.md | ||
template_manifest.json |