-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to initialize Hive 4.0.0 for Flutter Web? #1265
Comments
I think it states either in Hive or Isar that version 4 web doesn't persist data so it is only held in the browser session and then lost. |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
what is the new way to initialize Hive 4.0.0 for Flutter web?
final dir = await getApplicationDocumentsDirectory(); Hive.defaultDirectory = dir.path;
fails because Path_Provider is not available on browsers. There does not seem any other init method. Does anyone know?
The text was updated successfully, but these errors were encountered: