Skip to content

Commit ee9f048

Browse files
Update README.md
1 parent 1cb6137 commit ee9f048

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ Using the Android Debug Database with encrypted database
4848
```groovy
4949
debugImplementation 'com.amitshekhar.android:debug-db-encrypt:1.0.6'
5050
```
51+
And to provide the password for the DB, you should add this in the Gradle:
52+
DB_PASSWORD_{VARIABLE}, if for example, PERSON is the database name: DB_PASSWORD_PERSON
53+
```groovy
54+
debug {
55+
resValue("string", "DB_PASSWORD_PERSON", "password")
56+
}
57+
```
5158

5259
Use `debugImplementation` so that it will only compile in your debug build and not in your release build.
5360

0 commit comments

Comments
 (0)