Closed
Description
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:
- shared_preferences: it's not secure, making the user info vunerable.
- flutter_secure_storage: it doesn't support all the platforms, it's not lightweight and is slow.
- sqflite: it's not fast and doesn't support all the platforms.
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.