#182 - Added back an opt-out for the cache, now automatically disabled in case of crash

This commit is contained in:
Simon Cambier
2023-01-18 22:17:26 +01:00
parent 329aa50daa
commit 3c32e5f70f
4 changed files with 120 additions and 80 deletions

View File

@@ -348,9 +348,6 @@ export class Omnisearch {
}
public async writeToCache(): Promise<void> {
if (Platform.isIosApp) {
return
}
await cacheManager.writeMinisearchCache(
this.minisearch,
this.indexedDocuments