flutter_secure_storage
flutter_secure_storage copied to clipboard
A Flutter plugin to store data in secure storage
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....
`PlatformException(Exception encountered, read, java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.content.SharedPreferences.contains(java.lang.String)' on a null object reference at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin$b.run(SourceFile:24) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:246) at android.os.HandlerThread.run(HandlerThread.java:67) , null)` This issue...
Issue is reproducible in release mode where an existing app backup is restored, using Google One or a rooted device. This issue was being tracked in #161 and still exists...
From the documentation it is a bit unclear if setting up `flutter_secure_storage` with custom options for a platform, e.g., ```dart FlutterSecureStorage( aOptions: AndroidOptions( resetOnError:true, encryptedSharedPreferences: true, ), ), ``` requires...
I'm using flutter on chrome (incognito tab on localhost during the debug). When I run: ```dart const FlutterSecureStorage().write( key: 'myKey', value: 'myValue', ); ``` I get the error ``` Error:...
Hi, when adding the package to the pubspec.yaml file I get the following error: `/snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002 /snap/flutter/current/usr/bin/ld: warning: /usr/lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001...
Written data removed automatically immediately in MacOs.
Hello, the package show a error when try launch on Windows. **Platform:** Windows **Package version:** 5.0.2 This is my pubspec.yaml file: ``` name: pharmacy_billing_system description: A new Flutter project. publish_to:...
Hey folks, I want to test implementation for Android with only EncryptedSharedPreferences. I would expect it to be more stable 🤷♂️ as the logic is much simpler comparing with legacy....
I've just started using `flutter_secure_storage` in a new project, for some reason `containsKey` is returning `true` for every key value I give it. In the below image (showing a debug...