expo-secure-store
Encrypted key-value storage for small secrets: Android Keystore-backed storage on Android and the Keychain on iOS. Values are strings, so structured data is stored as JSON. Tokens go here, never in AsyncStorage, a variable or the bundle.
Minimal example
await SecureStore.setItemAsync("auth.tokens", JSON.stringify(tokens));
const raw = await SecureStore.getItemAsync("auth.tokens");Learn this concept
Lesson 4.5 · Secure token storageUsed in exercises
Exercise 4.7 · API client and auth screensRelatedTokenStore