Using LiteDB with Xamarim forms, creating a database using this:
var documentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
var dirPath = Path.Combine(documentsPath, "MyDB.db");
- Debugging in an Android emulator, works fine.
- Debugging in a real device, works fine.
- Installing in a real device using .apk, does not work.
Seems the database file is not there when You tried to open it or query it .
What do I missing here?