Following this question is there a way to check the app's current database version via adb shell? Also how do I check the user cookie
field mentioned in the question?
Asked
Active
Viewed 3,285 times
3

Community
- 1
- 1

jerrytouille
- 1,238
- 1
- 13
- 28
-
You could show the SQLite version by executing `SELECT sqlite_version();`, but this is not the version number you want; you want the database version. – CL. Mar 25 '13 at 08:24
2 Answers
10
To show the database file's user version number (which is the same as the user cookie), execute this SQL command:
PRAGMA user_version;

CL.
- 173,858
- 17
- 217
- 259
0
To check the sqlite version through shell, follow below commands:
adb -s <deviceId> shell
sqlite3 /data/data/<your app's package name>
Source: https://developer.android.com/studio/command-line/adb

Dhiraj Aggarwal
- 118
- 1
- 10