MichealReed
MichealReed
> You can and should use `JSPromise`. The error has some highlighting to indicate this (types wrapped in **) but the issues are due to the `List` and `Map` parameters,...
"It only happens (was happen) ones the engine initialized a sound" according to the original creator, so seems after one engine plays a sound the others cannot on emscripten but...
> Is there any additional information to narrow it down a bit? Hard to know exactly what's causing it. How are the sounds and engines being allocated? > > On...
Great work, looking at this and the dart version for library access in tests. Curious if this is meant to replace the current CMake driven approach for native library builds?...
I think a cmake implementation could be quite easy and maybe even support web if this package would run in the web case too. Being able to trigger the emscripten...
> * Example package with native assets: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli/example/ FYI this link is dead, also in https://github.com/dart-lang/sdk/issues/50565 > An example on how to use native assets can be found [here](https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli). likely...
The native_toolchain, tool, and utils helpers in the toolchain_c package might be more ripe for the toolchain_cli package. Other build systems could benefit from these without the CBuilder.
> You can override the detected list of supported platforms by explicitly declaring them: https://pub.dev/help/scoring#:~:text=Declaring%20platforms%3A Thanks! Any way to specifically declare dart compatibility too?
> No, we haven't yet figured out how to make packages that are flutter plugins sometimes and dart ffi apps sometimes. It seems the main hold-up on this is the...
Adding something in addition to OS might be ambiguous or confusing if the convention is already to check input.config.code.targetOS. The .libraryFileName helper could even be extended to work for js/wasm...