I tried to store usernames and passwords after someone logged in successfully with Flutter Secure Storage, but I wasn't able to read the keys. Is this expected behavior or am I doing something wrong?
It is expected behavior that data written in secure storage persists after app is closed. Data is written in KeyStore and KeyChain on Android and iOS, respectively.
It does. You'll have to share code so we can see what you're doing wrong. In the mean there is also another way as recommended by Flutter examples.
I've had a great experience using the SharedPreferences plugin. It's easy to asign key-value pairs and retrieve them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With