Expand description

Encryption Sync API.

The encryption sync API is a high-level helper that is designed to take care of handling the synchronization of encryption and to-device events (required for encryption), be they received within the app or within a dedicated extension process (e.g. the NSE process on iOS devices).

Under the hood, this uses a sliding sync instance configured with no lists, but that enables the e2ee and to-device extensions, so that it can both handle encryption and manage encryption keys; that’s sufficient to decrypt messages received in the notification processes.