Skip to content

Commit 9876cdf

Browse files
committed
Enable FTS5
1 parent 953ba05 commit 9876cdf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

android/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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)