Skip to content

Commit 17d9f09

Browse files
authored
feat: Add 16 KB page size support (#3543)
Update build.gradle, adding flexible page sizes flag to support 16 KB devices Android will force 16 KB page sizes support starting November 1st. https://developer.android.com/guide/practices/page-sizes > Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes. This can already put an application in trouble should it be targeted to Android 15+, when we want to push the APK to the Play Store. The emulators (those that are 16KB ready) are already showing a popup stating that the app isn't 16KB compatible.
1 parent ea097d2 commit 17d9f09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package/android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ android {
133133
cppFlags "-O2 -frtti -fexceptions -Wall -Wno-unused-variable -fstack-protector-all"
134134
arguments "-DANDROID_STL=c++_shared",
135135
"-DNODE_MODULES_DIR=${nodeModules}",
136-
"-DENABLE_FRAME_PROCESSORS=${enableFrameProcessors ? "ON" : "OFF"}"
136+
"-DENABLE_FRAME_PROCESSORS=${enableFrameProcessors ? "ON" : "OFF"}",
137+
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
137138
abiFilters (*reactNativeArchitectures())
138139
}
139140
}

0 commit comments

Comments
 (0)