A fast, secure key-value storage library for React Native (iOS & Android) that provides encrypted data storage with a simple async API. Current version 1.2.3. Uses native iOS Keychain and Android EncryptedSharedPreferences for encryption. Differentiators: supports synchronous getItem/setItem operations, ACCESSIBLE levels, and batch operations (setItems, getAllItems, clearStorage). Alternatives: react-native-encrypted-storage (more limited), expo-secure-store (Expo-only). Types included. Peer dependencies: react and react-native.
npm install react-native-fast-secure-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic setItem, getItem, removeItem, and hasItem usage with type safety.
Wrap in try/catch or use hasItem before calling getItem.
Use SecureStorage.deleteItem('key') instead.Check storage size or wrap in try/catch.
Prefer async methods (getItem, setItem).
import SecureStorage from 'react-native-fast-secure-storage';
Use hasItem to check existence before getItem, or wrap in try/catch.
Check if storage has any items before calling, or wrap in try/catch.