jni-v0.14.0
HosseinYousefi
released this
31 Jan 12:49
·
5 commits
to main
since this release
What's Changed
- Added
DynamicLibraryLoadError
which is thrown when the dynamic library fails
to load.HelperNotFoundError
will only be thrown when the helper library
cannot be found. - Update the README.md to include info about generating bindings for built-in
java types. - Do not require a
dylibDir
when runningJni.spawn
from Dart standalone,
instead use the default value ofbuild/jni_libs
. - Added
JArray.of
, which allows aJArray
to be constructed from an
Iterable
. - Added
JObject.isA
, which checks whether aJObject
is a instance of a
java class. - Do not require JAWT when building for desktop.
- Added
JByteArray.from
, which allows aJByteArray
to be constructed
from anIterable<int>
.