juliansteenbakker/flutter_secure_storage

[iOS] Native app update

Closed this issue · 4 comments

I'm trying to get keychain data from native app after upadating it with flutter app. Flutter app has bundleID and accountName for keychain the same as native app, but final data = await FlutterSecureStorage().readAll(); is always empty.

Hi, I have the same issue after updating the plugin from
flutter_secure_storage: 9.0.0
to
flutter_secure_storage: 9.2.1

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.0, on macOS 14.4.1 23E224 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Try calling .readAll() immediately after the WidgetsFlutterBinding.ensureInitialized(); and before runApp(...).

Screenshot 2024-05-19 at 12 36 06

This was fixed in #719 which got released with v9.2.2

Hi,
I am using flutter_secure_storage: 9.0.0 version in flutter application. But when ever i closed the app and reopen again ,
After splash screen i am getting data null in IOS, but in Android works fine.

How to fix this issue, please any one help me on this.

I am closing all older issues. If this issue still exists in the latest version, please let me know.