Skip to content

fix(android): enable 16KB page size support#60

Merged
mfazekas merged 1 commit into
mainfrom
fix/android-16kb-page-alignment
Dec 1, 2025
Merged

fix(android): enable 16KB page size support#60
mfazekas merged 1 commit into
mainfrom
fix/android-16kb-page-alignment

Conversation

@mfazekas
Copy link
Copy Markdown
Collaborator

Summary

Adds ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON CMake flag to enable 16KB page alignment for our native library, which is required by Google Play Store.

Fixes #59

Details

The librive.so (our Nitro bridge) was being compiled with default 4KB alignment. NDK r27 supports 16KB alignment but requires explicit opt-in via ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON.

Adopted from react-native-builder-bob template.

@mfazekas mfazekas requested a review from HayesGordon November 30, 2025 21:51
@mfazekas mfazekas marked this pull request as ready for review November 30, 2025 21:51
Copy link
Copy Markdown
Contributor

@HayesGordon HayesGordon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mfazekas mfazekas merged commit 1bddf91 into main Dec 1, 2025
7 checks passed
@HayesGordon HayesGordon deleted the fix/android-16kb-page-alignment branch December 9, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Your app does not support 16 KB memory page sizes.

2 participants