Add a search backfill app background processing task

To run when the device is idle, charging and connected to the network.
This commit is contained in:
Stefan Ceriu
2026-09-28 18:57:10 +03:00
parent d08b0e0090
commit 49481f9af7
4 changed files with 67 additions and 1 deletions
@@ -151,6 +151,8 @@ final nonisolated class AppSettings: @unchecked Sendable {
/// The task identifier used for background app refresh. Also used in main target's the Info.plist
let backgroundAppRefreshTaskIdentifier = "io.element.elementx.background.refresh"
/// The task identifier used for the search index backfill. Also used in main target's the Info.plist
let searchBackfillTaskIdentifier = "io.element.elementx.background.search-backfill"
/// A URL where users can go read more about the app.
private(set) var websiteURL: URL = "https://element.io"