my environment details:
=== dart info ===
- Dart 3.11.1 (stable) (Tue Feb 24 00:03:07 2026 -0800) on "macos_arm64"
- on macos / Version 26.3.1 (a) (Build 25D771280a)
- locale is en-US
#### Project info
- sdk constraint: '^3.11.1'
- dependencies: code_assets, dart_ipc, data_assets, ffi, flutter, hooks, logging, native_toolchain_c, path
- dev_dependencies: ffigen, flutter_lints, test
=============
My question:
I am integrating my macOS Flutter app with third party dynamic libs using the Dart Hook functionality.
My Hook build.dart script adds those libs as DynamicLoadingBundled() code assets.
PROBLEM: At runtime those lib code assets cannot be found.
CAUSE: the 3rd party lib file paths include dot characters, but the Flutter build removes them during bundling.
For instance, the 3rd party code wants to load the dynamic lib
Frameworks/bare-dns.2.1.4.framework/bare-dns.2.1.4
But Flutter build bundled it as
Frameworks/bare-dns214.framework/bare-dns214
Is there a Flutter build setting such that dot characters are preserved?