Update SecureStorageSample

This commit is contained in:
Matt Bruce 2026-01-14 13:20:30 -06:00
parent 7e3d7ba407
commit 72f4a3ebac

View File

@ -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 {