SecureStore (Keychain & Keystore)
Në shqip: Ruajtja e sigurt
ShpjegimiSQ
Për token-a hyrjeje dhe sekrete, mos përdor AsyncStorage: expo-secure-store i ruan të kriptuara në Keychain (iOS) ose Keystore (Android), ku aplikacionet e tjera s'i arrijnë.
EnglishEN
For login tokens and secrets, don't use AsyncStorage: expo-secure-store keeps them encrypted in the Keychain (iOS) or Keystore (Android), where other apps can't reach them.
Si ta mendosh
Si kasaforta e shtëpisë në vend të sirtarit të kuzhinës.
Lexoje në anglisht
Like the home safe instead of the kitchen drawer.
Shembull kodijavascript
await SecureStore.setItemAsync("token", token);
const t = await SecureStore.getItemAsync("token");