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

Explaining how the Java annotations determine the nullability, how to add other custom annotations as nullable and non-nullable annotations in the config, etc.

package:jnigen
package:jni

# Summary Adding JNI to a Flutter project makes the app slow at startup and might cause ANR # Steps to reproduce 1. Create a flutter app. 2. Add JNI...

package:jnigen
package:jni

We currently support generating Kotlin `suspend fun`s as Dart async methods. We need to be able to implement a Kotlin interface that contains a `suspend fun` by passing an async...

package:jnigen
package:jni

Currently a class `Foo implements Bar` gets generated as `Foo extends JObject`, we should generate it as `Foo extends JObject implements Bar`.

package:jnigen
package:jni

This seems to be completely out of scope from what JNIgen wants to be: a Dart bindings generator for Java, since we would have to generate Java bindings for Dart....

package:jnigen
package:jni
lang-java

Type variable: an instance of generic `T` in some type Type parameter: the declaration of generic `T` in the class or method. Basically the origin. Currently we cautiously generate the...

package:jnigen
package:jni

## Background We use a concept called type classes to create Java objects in generics. Say we have a `JList`, its `operator []` should return a `T`, but how can...

package:jnigen
package:jni

Followup from https://github.com/getsentry/sentry-dart/pull/2670/files#r1952391869 The generated code looks like this: ```dart /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release]...

package:jnigen
package:jni

Unify the error handling for JNIgen, so it always uses exceptions instead of `log.fatal` so that it also works well if someone wants to call it programmatically instead of through...

package:jnigen
package:jni