native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
We should support an open ended OS-list. * Flutter tools wants to move away from having a predefined list of OSes. * There are other embedders (non-Dart-standalone, non-Flutter) that run...
> What would it take to make android context objects available to JNI code without having to rely on flutter bindings being initialized? (Tangential: Also thinking about `Isolate.run()` / `compute()`...
> Wouldn't we throw a nice exception if jni related code requires an android context object and it wasn't initialized? (It shouldn't crash, hang or otherwise - it should provide...
After https://github.com/dart-lang/native/issues/1252, we can start allowing using native assets in build and link hooks. Typical use case: using package:http, which uses some dylib built in its build hook, to download...
package:objective_c exports a bunch of generated classes/enums etc. The lists of these exports are duplicated in a few different places. We have a test that verifies all the lists match,...
On different PRs: https://github.com/dart-lang/native/actions/runs/9700585168/job/26772335563 https://github.com/dart-lang/native/actions/runs/9696603699/job/26767515126 ``` Run cd current_repo/ Start health check for the check coverage with warnOn: [license, coverage, breaking, leaking] failOn: [version, changelog, do-not-submit] coverageweb: false ignoredPackages: []...
See the review at https://github.com/dart-lang/core/pull/1 --- - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. Contribution guidelines: - See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general...
This PR allows users of `package:native_assets_builder` to supply custom build/link configuration. This allows e.g. flutter to add additional configuration to `hook/{build,link}.dart` scripts that require flutter specific things. As opposed to...
Hi, I'm a beginner with ffigen but I'm trying to create an example using LocalAuthentication, I was able to generate the bindings and have created an implementation using them, everything...
Currently there's **many** different places in the code that look like this: ```dart Map toJson() => { for (final key in encoding.keys) key: encoding[key], _typeKey: type, }..sortOnKey(); ``` Often this...