-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
We are using E3Kit for our chat module which has 1:1 chat and group chats.
For 1:1 group chats, we decrypt the notification body by accessing the shared key from Keychain:
let keychainStorage = try E2EE.keychainStorage()
let keyEntry = try keychainStorage.retrieveEntry(withName: userId)
let crypto = try VirgilCrypto()
let keypair = try crypto.importPrivateKey(from: keyEntry.data)
// Decrypt notification body using keypair.
For group chats however, we do not have the luxury of using the method above as it requires a different workflow. As a feature request, can we have a way to decrypt group chats without initialising the E3Kit so that we wouldn't need to initialise the SDK every time the device receives a notification?
Metadata
Metadata
Assignees
Labels
No labels