native icon indicating copy to clipboard operation
native copied to clipboard

Dart packages related to FFI and native assets bundling.

Results 399 native issues
Sort by recently updated
recently updated
newest added

This will be possible once native assets doesn't require an experimental flag. - [x] Remove all the flutter infra and deps from package:objective_c - [x] Add build.dart infra instead -...

package:objective_c

Pulling some learnings from https://github.com/dart-lang/native/pull/977. > My preference would be to let a higher level of build system handle checking the file times, like Bazel or [package:build](https://pub.dev/packages/build) or [native assets](https://pub.dev/packages/native_assets_cli)....

P4
package:ffigen

For tree-shaking we want to generate `ResourceIdentifier` annotations. For C: * https://github.com/dart-lang/native/issues/1085 For JNIgen: * https://github.com/dart-lang/native/issues/1098 Probably for Objective-C (and Swift?) we could or should do something similar. The idea...

package:ffigen
lang-objective_c

I don't have a Mac OS setup. Therefore unable to build dartjni for macos on desktop. It's build system is different (podspec), and it may take more effort than porting...

package:jnigen
package:jni

**Update 2025-10-20** Some concerns have been addressed, but possibly not all For tree-shaking code and data assets, the link hook needs to get the information from AOT-compiled Dart code about...

package:hooks
package:record_use

**For v1.1, we need to be convinced that we don't need to break the API later.** **For v1.0, we need to be convinced that we don't need to break the...

package:hooks
package:hooks_runner

`ObjCBlock.listener` lets ObjC code invoke Dart callbacks that live in other isolates. If they pass an object arg, it's possible that it gets refcounted and destroyed before the Dart callback...

package:ffigen
lang-objective_c
package:objective_c

We should consider making `@Native`s automatically be mapped to `@ResourceIdentifier`s. `@Native`s have a `symbol` and `assetId` (both possibly inferred). https://api.dart.dev/stable/3.3.3/dart-ffi/Native-class.html `@ResourceIdentifier`s only have a `Object? metadata`. https://pub.dev/documentation/meta/latest/meta/ResourceIdentifier/ResourceIdentifier.html A possible mapping...

package:native_assets_cli
package:ffigen

This needs to be supported downstream: * https://github.com/dart-lang/sdk/issues/55377 * https://github.com/flutter/flutter/issues/146270 After we support adding assets in link hooks, we should update the doc comments on `link`. The current workaround is...

P3
package:native_assets_cli