- dependency/gradle upgrades
- customBackupFileName should not contain file extension. File extension(s) will be added automatically
- changed from maven-publish ossrh to central portal publishing
(I hope this will not break the library (fingers crossed))
- Fix SQLite3 backups not recognized on Android 15 (#43)
- Fix UI layout issue on Android 15 (edge-to-edge mode) (#43)
- Fix empty Google Drive backups (#44)
- Dependency/Gradle upgrades
- Removed not necessary android manifest permissions (#40)
- Dependency/Gradle upgrades
- Chagned to stable but marked single features as beta
- Migrated from Gradle to Kotlin DSL
If this version makes any technical problems please feel free to contact me. I made some changes in Gradle/Kotlin DSL and not sure if everything is working as excepted
- Just dependency upgrades
- Dependency/Gradle upgrades
- Updated Java to v17
- Fixes jetpack compose compatibility (#29)
- Dependency upgrades
- License changed to 2023
- Improved requested file permissions for SDK33 or later devices (#25)
- Only database files are allowed to restore (#26)
- Improved builtin restart app function
- Just dependency upgrades
- onCompleteListener provides now an exitCode
- Crash when database restoring with wrong password: (#13)
- Add the exitCode property to your onCompleteListeners. Example
- Package name changes from
com.ebner.roomdatabasebackup.core.RoomBackuptode.raphaelebner.roomdatabasebackup.core.RoomBackup
--> Next step is to change from Jitpack to MavenCentral
- You need to import the library by the new package name and delete the old import. Your IDE may helps you with these steps.
-
Custom Backup Location: (#9)
You can choose between internal, external application storage and (new) custom storage. If you choose custom storage a CreateDocument() (for creating a backup file) or OpenDocument() (for choosing a backup file to restore) Activity will be opened
-
.context(this)changed toval backup = RoomBackup(this)and must be declared outside of an onClickListener -
.useExternalStorage(false)is replaced with.backupLocation(backupLocation: Int). See README.md