Back up your end users device's key shares to iCloud.
This is how you set up iCloud backups in your iOS app.
Open your project in XCode.
Navigate to Signing & Capabilities.
Click the + button right below, scroll down, and select iCloud.
Under iCloud Services, select Key-value storage.
If you are using the React Native SDK add to your project:
import { backupKeyset, CloudBackupOptions, BackupProvider, } from '@fordefi/wallet-sdk-react-native';
Using for backup:
const backupOptions: CloudBackupOptions = {
backupProvider: BackupProvider.iCloud,
};
const result = await backupKeyset(keysetId, backupOptions);