Skip to content

Add Android 15+ support memory page size of 16KB#172

Merged
ObranS merged 4 commits into
trunkfrom
feature/NSDK-302-16kb-fix
Sep 29, 2025
Merged

Add Android 15+ support memory page size of 16KB#172
ObranS merged 4 commits into
trunkfrom
feature/NSDK-302-16kb-fix

Conversation

@ObranS

@ObranS ObranS commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

🔗 Related Links

⬅️ As Is

According to Google Play’s review requirements, all apps targeting Android 15 and above are required to support a memory page size of 16KB.

➡️ To Be

Added Android 15+ support memory page size of 16KB

☑️ Checklist

  • Useless comments and/or Log.d etc are removed
  • Unit test are covered
  • Code has been deployed and tested on STG
  • ClickUp ticket status has been updated to production
  • Update CHANGELOG.md with the new changes

@ObranS

ObranS commented Sep 25, 2025

Copy link
Copy Markdown
Contributor Author

Hi team! Added 16KB support settings.

Test steps:

  • Install Android Emulator (Pixel9Pro) API 35 with 16Kb size memory ON
  • Run Example app
  • Go to device emulator settings -> Find Example App settings -> Activate 16kb parameter

Guide:
https://developer.android.com/guide/practices/page-sizes?utm_source=chatgpt.com#16kb-emulator

Additionally pls see:
https://developer.android.com/guide/practices/page-sizes#16kb-backcompat

@ObranS ObranS requested review from devAbhimanyu and mikhail-yevstratiev and removed request for devAbhimanyu September 25, 2025 08:48
@mikhail-yevstratiev

Copy link
Copy Markdown
Contributor

@ObranS please rebase trunk branch on main before merging the PR.

Comment thread gradle.properties

# Enable 16KB page size support for Android 15+
# This ensures compatibility with devices using 16KB page sizes
android.experimental.enableKmp16KbPageSizeWarning=true No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@ObranS is it just a config update?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

https://developer.android.com/guide/practices/page-sizes#compile-r28

NDK version r28 and higher compile 16 KB-aligned by default.

@devAbhimanyu devAbhimanyu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm

@ObranS ObranS merged commit 98068a3 into trunk Sep 29, 2025
3 checks passed
@ObranS ObranS deleted the feature/NSDK-302-16kb-fix branch September 29, 2025 19:02
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.

3 participants