You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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:
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?
The text was updated successfully, but these errors were encountered: