Backup Manager
EsperBackupManager allows backup/restore applications on your device.
While restoring backups, users needs to take care of version compatibilities.
Currently, only single-user backing up of data is supported. In multi-user configuration, the application may not be backed up and restored at all. OOB/Temporary files are not backed up with current configuration. Cache is cleared once a backup is performed to avoid potential issues after backing up your application. Applications with allowBackup=false might fail to backup all the data to correctly function. If your application has allowBackup=false, do not backup with these APIs. Instead provide your own backup/restore mechanism like using key-value pair or using your own Cloud mechanism.
Functions
Link copied to clipboard
Delete backup present from the system to free storage.
Link copied to clipboard
Get list of all backups currently present on the system for an application.
Link copied to clipboard
Get list of all packages that are currently backed up.
Link copied to clipboard
Get instance of Esper's BackupManager.
Link copied to clipboard
Restore backup of an application.
Link copied to clipboard
Take backup of an application.