mirror of
https://github.com/wgtunnel/Android-Room-Database-Backup.git
synced 2026-10-09 14:40:29 -07:00
ADD 624fbad8c4 to README
This commit is contained in:
1 parent
fb3ccb5b3b
commit
2ce2ef46f7
1 file changed
+15
-1
@@ -48,7 +48,7 @@ allprojects {
|
||||
Then, add the dependency for `Android-Room-Database-Backup ` to your project-level `build.gradle` file.
|
||||
|
||||
```groovy
|
||||
implementation 'com.github.rafi0101:Android-Room-Database-Backup:1.0.0-beta02'
|
||||
implementation 'com.github.rafi0101:Android-Room-Database-Backup:1.0.0-beta04'
|
||||
```
|
||||
|
||||
Usage
|
||||
@@ -117,6 +117,20 @@ The following options are optional and the default options
|
||||
.backupIsEncrypted(false)
|
||||
```
|
||||
|
||||
* Encrypt your backup with your own password / key
|
||||
* This property is only working, if ```.backupIsEncrypted(true)``` is set
|
||||
* If you use the key to encrypt the backup, you will also need it to decrypt
|
||||
* Example: If you want to create an encrypted backup, export it and import it to another device. Then you need a custom key, else the backup is encrypted with a random key, and you can not decrypt it on a new device
|
||||
|
||||
**Attention**\
|
||||
i do not assume any liability for the loss of your key
|
||||
|
||||
|
||||
```kotlin
|
||||
.customEncryptPassword("YOUR_SECRET_PASSWORD")
|
||||
```
|
||||
|
||||
|
||||
* Save your backup to external app storage
|
||||
* External
|
||||
* storage path: /storage/emulated/0/Android/data/*package*/files/backup/
|
||||
|
||||
Reference in new issue
Block a user