jni 1.0.0 copy "jni: ^1.0.0" to clipboard
jni: ^1.0.0 copied to clipboard

A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen.

150/ 160
pub points
3.85M
downloads

We analyzed this package 47 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1041 out of 1306 API elements (79.7 %) have documentation comments.

Some symbols that are missing documentation: _internal.$JObject$Type$, _internal.Int32.Int32.new, _internal.JFieldIDPtr, _internal.JMethodIDPtr, _internal.JThrowablePtr.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ Windows

  • ✓ Linux

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.
Package does not support platform `macOS`.

Because:

  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.
Package does not support platform `Web`.

Because:

  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.5.0 2.7.0 2.7.0
collection ^1.19.1 1.19.1 1.19.1
ffi ^2.1.3 2.2.0 2.2.0
meta ^1.15.0 1.19.0 1.19.0
package_config ^2.1.0 2.2.0 3.0.0
path ^1.9.0 1.9.1 1.9.1
plugin_platform_interface ^2.1.8 2.1.8 2.1.8

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.1.0` on package_config does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions package_config to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.14, Flutter 3.44.4, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
62
likes
150
points
3.85M
downloads

Documentation

API reference

Publisher

verified publisherdart.dev

Weekly Downloads

A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen.

Repository (GitHub)
View/report issues
Contributing

Topics

#interop #ffi #java #kotlin #jni

License

BSD-3-Clause (license)

Dependencies

args, collection, ffi, meta, package_config, path, plugin_platform_interface

More

Packages that depend on jni

Packages that implement jni