Skip to content

Releases: rust-mobile/ndk

ndk v0.5.0

23 Nov 09:48
7c4da9e
Compare
Choose a tag to compare
  • Breaking: Replace add_fd_with_callback ident with constant value ALOOPER_POLL_CALLBACK,
    as per https://developer.android.com/ndk/reference/group/looper#alooper_addfd.
  • Breaking: Accept unboxed closure in add_fd_with_callback.
  • aaudio: Replace "Added in" comments with missing #[cfg(feature)].
  • aaudio: Add missing fn get_allowed_capture_policy().
  • configuration: Add missing api-level-30 feature to fn screen_round().

cargo-apk v0.8.2

23 Nov 09:48
55539dc
Compare
Choose a tag to compare
  • Fixed the library name in case of multiple build artifacts in the Android manifest.
  • Work around missing libgcc on NDK r23 beta 3 and above, by providing linker script that "redirects" to libunwind.
    See #149 and rust-lang/rust#85806 for more details.

ndk-build v0.4.2

06 Aug 07:39
8de740b
Compare
Choose a tag to compare
  • Pass UNIX path separators to aapt on non-UNIX systems, ensuring the resulting separator is compatible with the target device instead of the host platform.

cargo-apk v0.8.1

06 Aug 07:38
8de740b
Compare
Choose a tag to compare

ndk-glue v0.4.0

03 Aug 08:00
074eb06
Compare
Choose a tag to compare
  • Looper is now created before returning from ANativeActivity_onCreate, solving race conditions in onInputQueueCreated.
  • Event pipe and looper are now notified of removal before destroying NativeWindow and InputQueue. This allows applications to unlock their read-locks of these instances first (which they are supposed to hold on to during use) instead of deadlocking in
    Android callbacks.
  • Reexport android_logger and log from the crate root for ndk-macro to use.
  • Use new FdEvents bitflags for looper file descriptor events.
  • Update to ndk 0.4.0. This minor dependency bump causes a minor bump for ndk-glue too.

ndk-build v0.4.1

03 Aug 08:00
074eb06
Compare
Choose a tag to compare
  • Only the highest platform supported by the NDK is now selected as default platform.

ndk v0.4.0

03 Aug 07:59
074eb06
Compare
Choose a tag to compare
  • Breaking: Model looper file descriptor events integer as bitflags.

ndk-build v0.4.0

06 Jul 17:52
14a8c9c
Compare
Choose a tag to compare
  • Added add_runtime_libs function for including extra dynamic libraries in the APK.

cargo-apk v0.8.0

06 Jul 17:51
14a8c9c
Compare
Choose a tag to compare
  • Added runtime_libs path to android metadata for packaging extra dynamic libraries into the apk.

ndk-build v0.3.0

10 May 18:31
Compare
Choose a tag to compare
  • New ApkConfig field apk_name is now used for APK file naming, instead of the application label.
  • Renamed cargo_apk utility to cargo_ndk.