From 162dbfc854ee923d084061297a4bb2ffdd814840 Mon Sep 17 00:00:00 2001 From: Oscar Franco Date: Sun, 22 Dec 2024 10:56:50 +0100 Subject: [PATCH] FTS5 is supported with embedded version --- example/ios/Podfile.lock | 2 +- example/package.json | 2 +- op-sqlite.podspec | 4 ---- scripts/turnOnIOSEmbedded.js | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 65bf2c8..48a5fdd 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1785,7 +1785,7 @@ SPEC CHECKSUMS: GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4 glog: 08b301085f15bcbb6ff8632a8ebaf239aae04e6a hermes-engine: 06a9c6900587420b90accc394199527c64259db4 - op-sqlite: 44cfb0a8e1f57e95319a1d168271da059b4d7e98 + op-sqlite: 18bbfafda921a0a8443741a65fcabd291106156d RCT-Folly: bf5c0376ffe4dd2cf438dcf86db385df9fdce648 RCTDeprecation: fb7d408617e25d7f537940000d766d60149c5fea RCTRequired: 9aaf0ffcc1f41f0c671af863970ef25c422a9920 diff --git a/example/package.json b/example/package.json index 5951d14..0e17aab 100644 --- a/example/package.json +++ b/example/package.json @@ -72,7 +72,7 @@ "performanceMode": true, "iosSqlite": true, "crsqlite": false, - "fts5": false, + "fts5": true, "rtree": false, "sqliteVec": false, "tokenizers": [ diff --git a/op-sqlite.podspec b/op-sqlite.podspec index 22f97bc..dd6158f 100644 --- a/op-sqlite.podspec +++ b/op-sqlite.podspec @@ -54,10 +54,6 @@ if phone_version then raise "CRSQLite is not supported with phone version" end - if fts5 then - raise "FTS5 is not supported with phone version" - end - if rtree then raise "RTree is not supported with phone version" end diff --git a/scripts/turnOnIOSEmbedded.js b/scripts/turnOnIOSEmbedded.js index 6fb74fe..ae8b128 100644 --- a/scripts/turnOnIOSEmbedded.js +++ b/scripts/turnOnIOSEmbedded.js @@ -10,7 +10,7 @@ packageJson['op-sqlite']['crsqlite'] = false; packageJson['op-sqlite']['libsql'] = false; packageJson['op-sqlite']['sqliteVec'] = false; packageJson['op-sqlite']['rtree'] = false; -packageJson['op-sqlite']['fts5'] = false; +packageJson['op-sqlite']['fts5'] = true; // Save the updated package.json file fs.writeFileSync(