Skip to content

Use hive instead of shared_preferences #8

Closed
@bdlukaa

Description

@bdlukaa

Feature request

Is your feature request related to a problem? Please describe.

Currently, the way to store the user session is made by the plugin shared_preferences. It is not a secure storage, making the user info vunerable.

Describe the solution you'd like

Make use of a more secure storage solution, such as hive, since it's lightweight, fast and has encryption built-in. This is the storage solution used by firedart, the pure-dart firebase implementation.

Describe alternatives you've considered

Some other storage solutions, but they have some downsides:

With all the downsides presented above, hive is the best storage solution to store the user session: it's fast, lightweight and has built-in encryption.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions