Backup/Roaming
Xamarin target platforms both offer cloud sync and backup mechanisms. While the Android backup strategy is more of an async background process where backup and restore operations have to be initiated by the calling application, the iOS and iCloud roaming strategy provides seamless integration to the filesystem.
Android and Backup API
Android Backup API and Google-provided backup transport services provide an easily accessible way for application developers to back up and restore application data to remote cloud storage. It is possible to restore data after a factory reset or one device to another using the APIs provided by the BackupManager
.
Backup operations are executed by the BackupManager
in Android runtime and operations related to the application data are delegated to the BackupAgent
registered in the application manifest. It is important to remember the fact that your application has to be registered in the Android Backup Service. It is crucial to include the backup service...