Skip to content

Commit cd9001a

Browse files
authored
Merge pull request #66 from powersync-ja/feat/enable-fts5
Feat: Enable FTS5
2 parents 953ba05 + 761d441 commit cd9001a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.changeset/brown-beers-grow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@journeyapps/react-native-quick-sqlite": patch
3+
---
4+
5+
Enable FTS5

android/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ include_directories(
1212

1313
add_definitions(
1414
-DSQLITE_TEMP_STORE=2
15+
-DSQLITE_ENABLE_FTS5=1
1516
${SQLITE_FLAGS}
1617
)
1718

react-native-quick-sqlite.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.source = { :git => "https://github.com/margelo/react-native-quick-sqlite.git", :tag => "#{s.version}" }
1919

2020
s.pod_target_xcconfig = {
21-
:GCC_PREPROCESSOR_DEFINITIONS => "HAVE_FULLFSYNC=1",
21+
:GCC_PREPROCESSOR_DEFINITIONS => "HAVE_FULLFSYNC=1 SQLITE_ENABLE_FTS5=1",
2222
:WARNING_CFLAGS => "-Wno-shorten-64-to-32 -Wno-comma -Wno-unreachable-code -Wno-conditional-uninitialized -Wno-deprecated-declarations",
2323
:USE_HEADERMAP => "No"
2424
}

0 commit comments

Comments
 (0)