Skip to content

Add support for 16 KB memory page size (Android 15+ compliance) #58

@Quintessential-Maker

Description

@Quintessential-Maker

Hello 👋,

I am using flutter_vision ^2.0.0 in my Flutter project. Since Android 15, Google Play requires all native libraries to support 16 KB memory page size. Otherwise, apps will face compatibility and Play Store rejection.

Currently, flutter_vision bundles prebuilt OpenCV .so libraries (opencv-android). These binaries are compiled with older NDK toolchains (≤ r25), which only support 4 KB pages. As a result, the plugin is not compatible with Android 15 requirements.

Issue:
On Android 15 devices (or Play Console pre-launch report), the app fails the 16 KB page size compatibility test.

flutter_vision cannot be released to Play Store in future without updated .so builds.

What needs to be done:

Update the Android build setup to use NDK r26b or newer.

Rebuild the bundled OpenCV .so libraries (for all ABIs: armeabi-v7a, arm64-v8a, x86_64).

Release a new version of flutter_vision with 16 KB page size–compliant OpenCV binaries.

References:

Android 15 – 16 KB page size requirements

NDK r26b release notes

This update is critical because after Android 15 becomes stable, apps using flutter_vision will be blocked from Play Store release unless the .so files are rebuilt.

Thank you for maintaining this package.
Please let us know if we can help testing the updated build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions