flutter_secure_storage_darwin 0.4.2
flutter_secure_storage_darwin: ^0.4.2 copied to clipboard
Apple (ios and macos) implementation of flutter_secure_storage
Changelog #
0.4.2 - 2026-09-11 #
0.4.1 #
- Fixed items written by versions prior to 0.3.0 becoming unreadable (and subsequent writes failing with
errSecDuplicateItem) when noaccessControlFlagsare set. The 0.3.0 fix forkSecAttrSynchronizablebeing dropped causedread,readAllandcontainsKeyto stop querying the legacykSecAttrAccessControlstorage envelope that those items were written under; they now fall back to it automatically. (#1158)
0.4.0 #
- Raised minimum iOS deployment target from 12.0 to 13.0 to fix Swift compiler errors when building with Swift Package Manager. CryptoKit (used for Secure Enclave support) requires iOS 13.0+.
0.3.2 #
- Fixed
secStoreAvailabilitySinknot being called when protected data availability changes. - Fixed
kSecUseDataProtectionKeychainbeing added to Keychain queries unconditionally; it is now only set whenuseDataProtectionKeychainis explicitly enabled.
0.3.1 #
- Fixed iOS build by updating availability annotation for Secure Enclave methods from
iOS 11.3toiOS 13.0.
0.3.0 #
- Added
useSecureEnclavesupport for iOS and macOS to store encryption keys in the device's Secure Enclave for hardware-backed security. - Use shared
LAContextto reuse biometric authentication across Secure Enclave operations, avoiding double authentication prompts. - Secure Enclave keys now use hardcoded
.privateKeyUsageaccess control, preventing "ACL operation is not allowed" errors.
Fixes:
- Fixed
kSecAttrSynchronizablebeing silently dropped when no access control flags are set. - Fixed
readAllto correctly return Secure Enclave items. - Fixed macOS options keys alignment with iOS options.
- Added plain-text fallback when a Secure Enclave wrapped key is missing.
0.2.0 #
- Remove keys regardless of synchronizable state or accessibility constraints.
0.1.1 #
- Fix warnings with Privacy Manifest
0.1.0 #
This package combines flutter_secure_storage_macos together with the ios part of flutter_secure_storage.
Other changes:
- Code has been rebuild from the ground up
- Lots of missing attributes have been added to the IOSOptions and MacOsOptions classes.