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
[shared_preferences] Add Linux support #41720
Comments
The standard place for this is specified in the XDG Base Directory specification. Simply, it's in ~/.config/<appname> or use the environment variable $XDG_DATA_HOME/<appname> if specified. |
Blocked on #55327. Once that's done we can do this as a Dart-only "plugin" using almost identical Dart code to the Windows version that has a pending PR. |
The blocking bug is resolved, and a Dart-only |
Adds shared_preferences support for Linux. Part of flutter/flutter#41720
Adds shared_preferences support for Linux. Part of flutter/flutter#41720
Adds shared_preferences support for Linux. Part of flutter/flutter#41720
Adds shared_preferences support for Linux. Part of flutter/flutter#41720
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
This is a common plugin, so we should support it on desktop. We'll need to decide on what conventions we want to use for Linux for the location, since there's not necessarily an OS standard.
For the actual storage, JSON is probably the easiest option to minimize dependencies (vs. something like SQLite).
The text was updated successfully, but these errors were encountered: