0

I'm creating an encrypted sqflite database with sqflite_sqlcipher and would like to open it with the DB Browser for SQLCipher. For that i only need to find my .db file but I can't seem to figure out where this file is stored inside my app.
I have printed the path to the db in my init function and the output is below:

Future<Database> _initDatabase() async {
  print("Database path: ${await getDatabasesPath()}");
  final dbPath = await getDatabasesPath();
  final path = join(dbPath, "documents.db");
  final pw = await getPassword();

  return await openDatabase(
    path,
    password: pw,
    version: 1,
    onCreate: _onCreate,
  );
}

Database path: /data/user/0/com.example.did/databases

1 Answer 1

2

You could access it using Android Studio, look for Device File Manager and from there, you can access the file path.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.