Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nareshbhatia/react-native-app-state
React Native app to show that global state is kept intact even when app is inactive or in background
https://github.com/nareshbhatia/react-native-app-state
Last synced: about 4 hours ago
JSON representation
React Native app to show that global state is kept intact even when app is inactive or in background
- Host: GitHub
- URL: https://github.com/nareshbhatia/react-native-app-state
- Owner: nareshbhatia
- Created: 2020-06-04T03:50:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T19:10:51.000Z (over 3 years ago)
- Last Synced: 2023-03-06T20:53:38.456Z (over 1 year ago)
- Language: Java
- Size: 599 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Native App State
Sample app to show that global state is kept intact even when app is inactive or
in background.## Build Instructions
### Run the app in the simulator
```bash
yarn
cd ios
pod install
cd ..
yarn ios
```- Type your name in the TextEdit to change global state.
- Now change app state by going to the home screen or switching to another app
or locking your phone.
- Come back to this app, thus making it active. Your name should still show
up, proving that the global state is intact.