mogol / flutter_secure_storage

A Flutter plugin to store data in secure storage
https://pub.dartlang.org/packages/flutter_secure_storage
BSD 3-Clause "New" or "Revised" License
1.09k stars 340 forks source link

[iOS] Native app update #692

Open pawelballo99 opened 3 months ago

pawelballo99 commented 3 months ago

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.

SERDUN commented 1 month ago

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
techouse commented 1 month ago

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