# Part 10
miroslav.binas@tuke.sk / [**SMART**](https://kurzy.kpi.fei.tuke.sk/smart)
## [The Poll](https://forms.gle/338qgmDRByvXcV5u6)
## Data Persistence and Security
## [AsyncStorage](https://react-native-async-storage.github.io/async-storage/)
Async Storage is asynchronous, unencrypted, persistent, key-value storage solution for your React Native application.
## Storing Data
```javascript
async function storeData(key, value){
try {
await AsyncStorage.setItem(key, value);
} catch (e) {
// saving error
}
}
```
## Reading Data
```javascript
async function getData(key){
try{
return await AsyncStorage.getItem(key);
}catch(e){
// read error
}
}
```
## Storage Size
*6MB* limit on *Android* platform!