native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
# Rationale Problems with doclet: * Inability to parse partial sources * Not the source of truth. Java might perform certain transformations, meaning that we don't have the full picture...
Once JNIgen hits 1.0, we can rewrite APISummarize in Dart itself using JNIgen! This way we don't have to deal with [encoding issues](https://github.com/dart-lang/native/pull/1141), [i/o issues](https://github.com/dart-lang/native/issues/655), and having to maintain a...
Documentation could be improve to ease the use for first time users. - [ ] Having to have a different installation of JDK even with Android Studio installed - [x]...
We could use C++ instead. This way a global C++ object with constructors and destructors could be used. See: https://github.com/dart-lang/native/pull/1163#discussion_r1609692284
When running `dart test` from scratch in `jni_gen/`: ` Cannot rename file to './.dart_tool/jni_gen/ApiSummarizer.jar', path = './.dart_tool/jni_gen/target/ApiSummarizer.jar' (OS Error: No such file or directory, errno = 2)`. I believe we're...
Currently the tests are all jammed up in a few packages, these are nice to have as integration tests, however, we don't have well-cut unit tests. Will add to this...
If I remove a class from the input, and it's the last one in the package currently (and after https://github.com/dart-lang/jnigen/pull/98 just by itself), the old file will linger around. I...
We should add benchmarks to this repo. - `jni/benchmark` and `jnigen/benchmark` - Use https://pub.dev/packages/benchmark_harness - You can see some examples https://github.com/dart-lang/sdk/tree/main/benchmarks/FfiMemory - You can see some examples https://github.com/dart-lang/sdk/tree/main/benchmarks/FfiCall - (But...
I changed the version of my JDK from 19 to 17 (just like yours) and it finally worked ! Thanks again _Originally posted by @blackgerman in https://github.com/dart-lang/native/issues/682
Add the ability to register any object of type `FlutterPlugin` and `ActivityAware` in `JniPlugin`. We can then use `JniPlugin.registerFlutterPlugin` to add an implementation of `FlutterPlugin` that calls its `onAttachedToEngine` and...