Skip to content

Release v0.0.97

Choose a tag to compare

@zendrx zendrx released this 06 Jun 23:48
· 172 commits to main since this release
ad1887b

Recent Changes

  • Fixed Android engine compilation on Termux
  • Added prebuilt Android libraries (libnative_cr.so, libnative_cr_engine.so)
  • Added android_entry.cr with fun crystal_android_main for C interop
  • Fixed APP_CMD_INIT_WINDOW and APP_CMD_TERM_WINDOW constants
  • Added ndk-sysroot and libglvnd-dev packages for Termux builds
  • Fixed app.cr export handling for Android target
  • Improved build.cr with NDK detection and prebuilt library copying
  • Added postinstall script to download prebuilt Android libraries
  • Added .so files to GitHub Releases for distribution
  • Fixed CRYSTAL_PATH for Termux environment
  • Added gitignore for Android and iOS build artifacts

Known Issues

  • Android build requires NDK installed and ANDROID_NDK environment variable set
  • iOS build requires macOS with Xcode
  • Desktop preview only works on Linux/macOS
  • Camera module untested on real devices

Installation

Add to shard.yml:

dependencies:
  native:
    github: slick-lab/native.cr
    version: ~> 0.0.97