Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
be65f4610c
commit
cb30e67bbe
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user