3.1.2
- Fixes an issue introduced in 3.0.0 where Valets created with
Valet.sharedAccessGroupValet
andValet.iCloudSharedAccessGroupValet
incorrectly returned aValet.sharedAccessGroupValet
andValet.iCloudSharedAccessGroupValet
, respectively.
Note for apps that released an app with Valet v3.0-3.1.1
If you use Valet.sharedAccessGroupValet
, run the following before accessing data in your Valet.sharedAccessGroupValet
:
let desiredValet = Valet.sharedAccessGroupValet(with: yourIdentifier, accessibility: yourAccessibility)
let mistakenlyCreatedValet = Valet.valet(with: yourIdentifier, accessibility: yourAccessibility)
desiredValet.migrateObjects(from: mistakenlyCreatedValet, removeOnCompletion: true)
If you use Valet.iCloudSharedAccessGroupValet
, run the following before accessing data in your Valet.iCloudSharedAccessGroupValet
:
let desiredValet = Valet.iCloudSharedAccessGroupValet(with: yourIdentifier, accessibility: yourAccessibility)
let mistakenlyCreatedValet = Valet.iCloudValet(with: yourIdentifier, accessibility: yourAccessibility)
desiredValet.migrateObjects(from: mistakenlyCreatedValet, removeOnCompletion: true)