File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
android-database-sqlcipher
src/main/java/net/sqlcipher/database Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ android {
88 buildToolsVersion " 26.0.1"
99
1010 defaultConfig {
11+ versionName " ${ clientVersionNumber} "
1112 minSdkVersion " ${ minimumAndroidSdkVersion} "
1213 targetSdkVersion " ${ targetAndroidSdkVersion} "
1314 versionCode 1
Original file line number Diff line number Diff line change 1616
1717package net .sqlcipher .database ;
1818
19+ import net .sqlcipher .BuildConfig ;
1920import net .sqlcipher .Cursor ;
2021import net .sqlcipher .CrossProcessCursorWrapper ;
2122import net .sqlcipher .DatabaseUtils ;
@@ -78,7 +79,7 @@ public class SQLiteDatabase extends SQLiteClosable {
7879 /**
7980 * The version number of the SQLCipher for Android Java client library.
8081 */
81- public static final String SQLCIPHER_ANDROID_VERSION = "3.5.9" ;
82+ public static final String SQLCIPHER_ANDROID_VERSION = BuildConfig . VERSION_NAME ;
8283
8384 // Stores reference to all databases opened in the current process.
8485 // (The referent Object is not used at this time.)
You can’t perform that action at this time.
0 commit comments