iCloud

Back up your end users device's key shares to iCloud.

This is how you set up iCloud backups in your iOS app.

  1. Open your project in XCode.

  2. Navigate to Signing & Capabilities.

    alt
  3. Click the + button right below, scroll down, and select iCloud.

    alt
  4. Under iCloud Services, select Key-value storage.

    alt
  5. If you are using the React Native SDK add to your project:

    import {
      backupKeyset,
      CloudBackupOptions,
      BackupProvider,
    } from '@fordefi/wallet-sdk-react-native';
  6. Using for backup:

const backupOptions: CloudBackupOptions = {
  backupProvider: BackupProvider.iCloud,
};
const result = await backupKeyset(keysetId, backupOptions);