Skip to content

Commit 008b954

Browse files
authored
Enable 16KB memory page size support on Android (Update Nitro to 0.26.2) (#191)
1 parent 0d7d6d8 commit 008b954

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

bun.lockb

344 Bytes
Binary file not shown.

example/android/app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,15 @@ android {
7878
compileSdk rootProject.ext.compileSdkVersion
7979

8080
namespace "com.margelo.rnnitrosqlite.example"
81+
8182
defaultConfig {
8283
applicationId "com.margelo.rnnitrosqlite.example"
8384
minSdkVersion rootProject.ext.minSdkVersion
8485
targetSdkVersion rootProject.ext.targetSdkVersion
8586
versionCode 1
8687
versionName "1.0"
8788
}
89+
8890
signingConfigs {
8991
debug {
9092
storeFile file('debug.keystore')
@@ -93,6 +95,7 @@ android {
9395
keyPassword 'android'
9496
}
9597
}
98+
9699
buildTypes {
97100
debug {
98101
signingConfig signingConfigs.debug

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"expo-status-bar": "^1.12.1",
2424
"react": "19.0.0",
2525
"react-native": "0.78.0",
26-
"react-native-nitro-modules": "0.24.1",
26+
"react-native-nitro-modules": "0.26.2",
2727
"react-native-nitro-sqlite": "9.1.9",
2828
"react-native-safe-area-context": "^5.2.0",
2929
"react-native-screens": "^4.9.1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"patch-package": "^8.0.0",
3232
"react": "19.0.0",
3333
"react-native": "0.78.0",
34-
"react-native-nitro-modules": "0.24.1"
34+
"react-native-nitro-modules": "0.26.2"
3535
},
3636
"devDependencies": {
3737
"@babel/core": "^7.25.2",

package/android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ android {
110110
arguments "-DANDROID_STL=c++_shared",
111111
"-DANDROID_TOOLCHAIN=clang",
112112
"-DREACT_NATIVE_MINOR_VERSION=${REACT_NATIVE_MINOR_VERSION}",
113-
"-DSQLITE_FLAGS='${SQLITE_FLAGS ? SQLITE_FLAGS : ''}'"
113+
"-DSQLITE_FLAGS='${SQLITE_FLAGS ? SQLITE_FLAGS : ''}'",
114+
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
114115
abiFilters (*reactNativeArchitectures())
115116
}
116117
}

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"react": "19.0.0",
7575
"react-native": "0.78.0",
7676
"react-native-builder-bob": "^0.31.0",
77-
"react-native-nitro-modules": "0.24.1"
77+
"react-native-nitro-modules": "0.26.2"
7878
},
7979
"peerDependencies": {
8080
"react": ">=17.0.0",

0 commit comments

Comments
 (0)