flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

Add a way to watch/listen changes

Open ValentinVignal opened this issue 2 years ago • 2 comments

It would be very useful to be able to listen to changes of a set of keys/any key in the secure storage and be notify when it happens.

For example hive allows you to listen to a change on specific keys or all the keys of a box (see the doc).

ValentinVignal avatar Jul 28 '22 07:07 ValentinVignal

You can use other dependencies for now to watch for changes, or create a simple state tracker since I don't think that this will be implemented anytime soon...

hmawla avatar Aug 13 '22 18:08 hmawla

I've created this pull request: https://github.com/mogol/flutter_secure_storage/pull/640

MohamadGreatWarrior avatar Oct 20 '23 14:10 MohamadGreatWarrior