native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
After the hooks are run in dartdev/flutter_tools, the assets might be copied/signed/`install_name` modified etc. We'd like to ensure that we can cache those steps. We cannot blindly rely on timestamps,...
iOS/macOS development has a common pattern where an SDK introduces a new preferred API and deprecates the old API at the same time. In the old days this was a...
A common pattern in Android development is use (and define) methods that require a specific Android API version at runtime, indicated with [the `@RequiresApi` annotation](https://developer.android.com/reference/androidx/annotation/RequiresApi). There are then warnings at...
Before 1.0 I would like to do some general quality of life clean ups, this is the umbrella issue of it. - [ ] Format the test descriptions correctly -...
Objective-C interfaces are converted to Dart classes that extend _ObjCWrapper e.g. ``` class NSString extends _ObjCWrapper { ``` Instead, they should extend their actual superclass e.g. ``` class NSString extends...
`NSObject` has a `new` class method that is equivalent to `[[class alloc] init]` but calling it is not intuitive because `new` is a keyword in Dart. Maybe we could have...
Is it possible to turn ObjC generic interfaces into Dart generic classes? Our current handling just ignores them and treats template params as NSObjects.
I'm looking for a way to use native assets in a [pub-configured executable](https://dart.dev/tools/pub/cmd/pub-global#configuring-package-executables). I apologise in advance if this is already implemented / documented somewhere, but having tried to minimally...
This is an umbrella issue to track the completion of JNIgen docs. More issues will be added here. - [ ] #611 - [ ] https://github.com/dart-lang/native/issues/1527 - [ ] https://github.com/dart-lang/native/issues/1528...
There are a few ways that methods can be copied from one ObjC interface/protocol to another (eg copying methods from a protocol to a conforming interface). This bypasses method filtering...