page_size_ready

Ensure Android native binaries are compatible with the 16 KB memory page size. This Flutter plugin demonstrates compliant native builds (NDK r28, max-page-size=16384) and documents the steps apps should follow to meet Google Play policy.

Features

  • Example native library built with 16 KB–safe linker flags
  • Guidance for CMake/ndk-build projects
  • Verification steps for devices/emulators with 16 KB pages

Install

Add to pubspec.yaml:

dependencies:
  page_size_ready: ^0.1.0

Android setup (summary)

  • Use NDK r28+ and recent toolchain (AGP 8.6+, Gradle 8.7+).

  • For CMake targets: cmake

  • For ndk-build (Android.mk/Application.mk):