I’m using secure storage in a FlutterFlow app, and encountering iOS-specific PlatformException in production from Sentry. Errors such as:
Code: -25308, Message: User interaction is not allowed
Code: -25291, Message: No keychain is available
These errors occur when the app tries to write to secure storage without appropriate keychain access levels set, which can happen after device restart or in background state, according to my research.
Currently, FlutterFlow does not expose an option to set iOSOptions when writing to secure storage, such as accessibility: IOSAccessibility.first_unlock, which could help prevent these errors.
Is there any plan to implement iOSOptions in flutter_secure_storage, or any other way to avoid these errors without writing a lot of custom code?