native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
Adding a ref counting test for package:objective_c's `NSInputStream`, but it looks like there's a memory leak.
Turns out there are a few Apple APIs that require that the completion handler is invoked during the callback. So we should add a variant of listener blocks and protocol...
AVFoundation has a header `AVTime.h`, which contains the following extension: ```objc @interface NSValue (NSValueAVFoundationExtensions) + (NSValue *)valueWithCMTime:(CMTime)time API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(1.0)); @property (readonly) CMTime CMTimeValue API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(1.0)); +...
To avoid API updates changing method numbering, we should tighten up how we're using `UniqueNamer`. We've been using it as a crutch to solve the few edge cases where renaming...
Let's say that we have two methods `void foo(float a)` and `void foo(double a)`. JNIgen generates these as `void foo(double a)` and `void foo1(double a)`, the user can go ahead...
Per [recommendation in recent discussion](https://github.com/dart-lang/native/issues/1639#issuecomment-2404767254), I'm now generating code from `flutter build apk` output without referencing any source in my config YAML. The result is that a Java method like...
@reidbaker Suggested we should have `fetch` hook/flag, and an `offline` flag. I've spend some thought on what would be a good way of doing this. One design goal should be...
So far we decided not to make every Java object nullable in Dart because without additional annotations, every Java object can be nullable and the resulting code will be full...
Coming to `jnigen` for the first time, the README didn't help me get started quickly. In general what I would want to see is an overview of what it is,...
I'm trying to set up an initial `jnigen` of the `video_player_android` plugin to incrementally convert the existing native implementation, and it can't seem to find any of the ExoPlayer (media3)...