You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The Hive.initFlutter() method sets the directory for the database files to '$HOME/Documents'. On Linux systems user-specific application files should be saved to the '$HOME/.local/share/' directory. This directory can be retrieved by the path_provider package with the getApplicationSupportDirectory() method.
Describe the solution you'd like
On Linux systems the Hive.initFlutter() method should call the getApplicationSupportDirectory() to retrieve the '$HOME/.local/share/' directory.
If the change is appreciated i can create a Pull request.
Version
Platform: Linux
Flutter version: [e.g. 1.5.4]
Hive version: [e.g. 0.5.0]
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The Hive.initFlutter() method sets the directory for the database files to '$HOME/Documents'. On Linux systems user-specific application files should be saved to the '$HOME/.local/share/' directory. This directory can be retrieved by the path_provider package with the getApplicationSupportDirectory() method.
Describe the solution you'd like
On Linux systems the Hive.initFlutter() method should call the getApplicationSupportDirectory() to retrieve the '$HOME/.local/share/' directory.
If the change is appreciated i can create a Pull request.
Version
The text was updated successfully, but these errors were encountered: