-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
This is my backup code
backup.backupLocation(RoomBackup.BACKUP_FILE_LOCATION_CUSTOM_FILE)
.backupLocationCustomFile(File(fileLocation))
.database(MyDatabase.invoke(requireContext()))
.enableLogDebug(true)
.backupIsEncrypted(true)
.customEncryptPassword("bP8!d1S4Q9a3")
And restore code
backup.backupLocation(RoomBackup.BACKUP_FILE_LOCATION_CUSTOM_FILE)
.backupLocationCustomFile(File("${requireContext().filesDir}", fileName))
.database(MyDatabase.invoke(context))
.enableLogDebug(true)
.backupIsEncrypted(true)
.customEncryptPassword("bP8!d1S4Q9a3")
The following error occurs in Android 15 and 16. Other versions have not been tested.
chosen file is unencrypted while encrypted file is expected, exitCode: 7
When I downgraded from version 1.1.0 to 1.0.2, it worked without any problems.
Metadata
Metadata
Assignees
Labels
No labels