By Oscar Franco
Twitter • YouTube • [Email](mailto:[email protected]?subject=I%20need%20a%20Freelancer)
You might want to directly look at the data inside your database or export it from a client device to provide support.
In order to support these workflows OP SQLite supports outputting the database file path.
const db = open({name: 'dbPath.sqlite'});
await db.execute('CREATE TABLE test (id INTEGER PRIMARY KEY AUTOINCREMENT)');
const path = db.getDbPath();
console.warn(path);
Clipboard.setString(path);
If you are running on the simulator you can put the path on the clipboard. Go to your Terminal and directly open the database file in your sqlite explorer application
Oscar Franco Screen 001143.mp4
For on user support you can use this file path to attach it to an email or to you own ticketing system (as long as it supports file uploads).