flutter_secure_storage
flutter_secure_storage copied to clipboard
A Flutter plugin to store data in secure storage
Hi All, I have a problem with Flutter Secure Storage unit testing. If I mocked it with Mockito, I got this error: package:test_core/src/runner/vm/platform.dart 252:7 VMPlatform._compileToKernel ===== asynchronous gap =========================== package:test_core/src/runner/vm/platform.dart...
I am having problems storing a token with flutter secure storage! When I close the app or hot-restart the data gets lost or returns null Any Suggestions? -------------------------------------------------------------------- code class...
Hi, thank you for that amazing package! I am having a strange issue in my app, I store all tokens in secure storage in my Flutter app and it's working...
I am experiencing this issue only on macOS. I suspect it's something related to Keychain, but I don't yet have enough experience with the lib internals to trace exactly what's...
``` @override Future put(String key, String data) async { debugPrint('----------\nvalue before write: ${await get(key)}'); debugPrint('trying to write: $data'); await secureStorage.write(key: key, value: data); debugPrint('value after wrote: ${await get(key)}\n----------'); } ```...
Thanks for offering this convenient package. I believe this package uses KeyChain to hold the information in iOS, but is the encryption of the information itself left to KeyChain? What...
**Repro steps:** 1) Make sure you have only one bundle/flavor of the app on the device. 2) Store some key-value pair, like `authToken` 3) Remove the app 4) Install a...
Hi, these functions were added in abstract, so also need in web implementation. If not, we have this error ``` lass FlutterSecureStorageWeb extends FlutterSecureStoragePlatform { ^^^^^^^^^^^^^^^^^^^^^^^ ../../.pub-cache/git/flutter_secure_storage-3bb93366161a787b07c45d8ce98c7405b40fbf1f/flutter_secure_storage_platform_interface/lib/flutter_secure_storage_platform_interface.dart:36:16: Context: 'FlutterSecureStoragePlatform.isCupertinoProtectedDataAvailable' is...
Fixes #391 On iOS, `readAll` (or `deleteAll`) will return error code `errSecItemNotFound`(`-25300`) if the item does not exist in the keychain. This is due to the error code `errSecItemNotFound` returned...