Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/early-tips-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@journeyapps/react-native-quick-sqlite": patch
---

Support 16KB page sizes when building with NDK version 27+
11 changes: 6 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
AVD_NAME: ubuntu-avd-x86_64-31
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand All @@ -33,13 +33,13 @@ jobs:
key: avd-31

- name: Setup NodeJS
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 18
cache: 'yarn'

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'adopt'
Expand Down Expand Up @@ -90,11 +90,12 @@ jobs:
name: Test iOS (Only build)
runs-on: macOS-13
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

- uses: irgaly/xcode-cache@v1
if: false # Currently broken, see e.g. https://github.com/powersync-ja/react-native-quick-sqlite/actions/runs/18458692696/job/52584961537
with:
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
restore-keys: xcode-cache-deriveddata-${{ github.workflow }}-
Expand All @@ -108,7 +109,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('tests/ios/Podfile.lock') }}

- name: Setup NodeJS
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 18
cache: 'yarn'
Expand Down
4 changes: 3 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ android {
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
arguments '-DANDROID_STL=c++_shared',
"-DSQLITE_FLAGS='${SQLITE_FLAGS ? SQLITE_FLAGS : ''}'",
"-DUSE_HERMES=${USE_HERMES}"
"-DUSE_HERMES=${USE_HERMES}",
// For 16KB-aligned pages with NDK r27: https://developer.android.com/guide/practices/page-sizes#groovy_1
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
abiFilters (*reactNativeArchitectures())
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '34')
kotlinVersion = findProperty('android.kotlinVersion') ?: '1.9.24'

ndkVersion = "26.1.10909125"
ndkVersion = "27.3.13750724"
}
repositories {
google()
Expand Down
Loading