hive
hive copied to clipboard
Flutter Windows app - .lock and .hive file location
Hi,
We are using Hive in our Flutter application for Windows.
The .lock and .hive files are stored in the /Documents folder on the Windows machine. Is there a possibility to store it in another location? E.g. appdata or somewhere else?
Thanks!
Kind regards, Timo
This is what I came up with.
if (GetPlatform.isWindows) {
await Hive.initFlutter("someSubfolder");
} else {
await Hive.initFlutter();
}