flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

Can't be able to delete data

Open idamsel opened this issue 3 years ago • 3 comments

Can't be able to delete my data at Logout button click event. I perform below code at button onPress. But it can't work. Please give me solution related this issue.

_secureStorage.deleteSecureData("username");

idamsel avatar Jan 21 '22 08:01 idamsel

I'm having same issue just now. Can't same to delete data using delete function. On iOS 15.2 with Flutter 2.8.1

Livinglist avatar Jan 22 '22 02:01 Livinglist

Yes , I refer below link for store , retrieve and delete data. He use _secureStorage.deleteSecureData("username") , So his name is empty when he press sign out. I want to perform same functionality for my E-Commerce application. But in my case I can't be able to remove my name at profile section after clicking log out button :(

I use Windows 10 with Flutter 2.8.1

If you find out any solution regarding this , then please inform me. It means a lot to me :) (You also refer below link too) Flutter Secure Storage

idamsel avatar Jan 22 '22 09:01 idamsel

apparently me and my team after suffering for a few weeks trying to solve the issue, we end up either deleting those params or assigning them to null or empty values to fix the issue and that works, I highly recommend you do that!

Maher-Reven avatar Jul 12 '22 15:07 Maher-Reven