← Back to all updates

iCloud Sync Support Added with Separate iOS and macOS Targets

Commit: 903abe1

iCloud sync support has been added, allowing users to synchronize their vaults across devices. The application has been split into distinct iOS and macOS targets, each with its own platform-specific entitlements.

Technical Approach

The implementation utilized SwiftUI to create separate schemes for iOS and macOS, ensuring compatibility with platform-specific features. iCloud Drive was integrated for vault synchronization, and modifications were made to the VaultViewModel to effectively manage iCloud paths.

Technical Details

  • Separate iOS and macOS schemes created with specific entitlements.
  • iCloud Drive vault synchronization implemented across devices.
  • VaultViewModel updated to utilize effectiveVaultPath for iCloud support.
  • iOS VaultPickerView enhanced with iCloud option and Settings access.
  • New app icons added to reflect platform differences.