diff --git a/SecureStorageSample/SecureStorageSampleApp.swift b/SecureStorageSample/SecureStorageSampleApp.swift index bc54624..de54f6d 100644 --- a/SecureStorageSample/SecureStorageSampleApp.swift +++ b/SecureStorageSample/SecureStorageSampleApp.swift @@ -13,6 +13,13 @@ struct SecureStorageSampleApp: App { init() { _ = WatchConnectivityService.shared Task { + // Configure encryption constants for the app + let config = EncryptionConfiguration( + masterKeyService: "SecureStorageSample", + masterKeyAccount: "AppMasterKey" + ) + await StorageRouter.shared.updateEncryptionConfiguration(config) + do { try await StorageRouter.shared.registerCatalog(AppStorageCatalog.self) } catch {