UnbluEncryptedNotificationServiceHelper
class UnbluEncryptedNotificationServiceHelper
This class decrypts the notification using AES 256 into a dictionary.
-
Decodes encrypted notification data using the stored shared secret.
Declaration
Swift
static func decode(_ encryptedData: String) -> [String : Any]?
Parameters
encryptedData
The encrypted payload string.
Return Value
A dictionary with decrypted key–value pairs if successful, otherwise
nil
.