use local storage in react native code example
Example: react native storage
npm install react-native-storage
npm install @react-native-community/async-storage
npm install react-native-storage
npm install @react-native-community/async-storage