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

While cleaning up the "duplicate method" error spam, I found that there are two properties on `NSDate` called `timeIntervalSinceReferenceDate`. One is an [instance property](https://developer.apple.com/documentation/foundation/nsdate/1417376-timeintervalsincereferencedate?language=objc) and the other is a [type...

type-bug
good first issue
package:objective_c

`ns_data_test.dart` causes some sort of seg faults crash loop when using `NSData.dataWithBytesNoCopy_length_`. I'm switching to `NSData.dataWithBytes_length_` for now, which fixes the crash but is slower. [Logs](https://github.com/dart-lang/native/actions/runs/8863501530/job/24337646756). I noticed the crash...

package:objective_c

Context: * https://github.com/flutter/flutter/issues/148044 This would enable `build` and `link` hooks to fail if they cannot produce native code assets with that iOS SDK version. Standalone Dart packages do not specify...

P2
package:native_assets_cli
package:native_toolchain_c

Requires #827 to be merged. Extend API by providing a `CLinker`, supporting development only on linux for now. Other platforms to be added in future PRs. --- - [x] I’ve...

package:native_toolchain_c
package:native_assets_builder

This should be possible with a single static piece of native code that can live in `package:objective_c`, so we won't have to generate different native code for each protocol.

package:ffigen
lang-objective_c
package:objective_c

We should consider introducing a package to help calling the Rust compiler from Dart code. Things this package could contain: * [ ] A mapping from `native_assets_cli`s `Target` and `IOSSdk`...

package:native_toolchain_c

It would be great to have a constructor that creates an NSDate object from a Dart DateTime object to make it easier to work with Apple APIs that leverage date...

good first issue
lang-objective_c
package:objective_c

This is from the coverage step of the workflow on a PR: https://coveralls.io/builds/67179524 This is the overall result you get if you click on a coverage badge: https://coveralls.io/builds/67179061 Note that...

type-infra
package:objective_c

To address https://github.com/dart-lang/native/issues/681, we should to generate `ResourceIdentifier`s on all JNIgen generated methods. ```dart class PDDocument extends jni.JObject { @ResourceIdentifier('jnigen') jni.JObject getDocumentCatalog(); @ResourceIdentifier('jnigen') static PDDocument load( jni.JObject file, ); }...

package:jnigen
package:jni

For some of the routines, we can generate both the normal and the leaf versions, and call each one depending on the situation. For example `SetArrayRegion` could be fast depending...

package:jnigen
package:jni