RNOffline
A sample React Native app showing practical examples of how to make offline-friendly apps
Install / Use
/learn @anchetaWern/RNOfflineREADME
RNOffline
A sample React Native app showing practical examples of how to make offline-friendly apps.
You can read the tutorial here:
- https://pusher.com/tutorials/offline-react-native-part-1
- https://pusher.com/tutorials/offline-react-native-part-2
Prerequisites
Getting Started
- Clone the repo:
git clone https://github.com/anchetaWern/RNOffline.git
cd RNOffline
- Switch to your branch of choice:
starter- this is where you switch to if you're following part 1 of the series.redux-persist-sample- contains the sample code for working with redux-persist.master- contains the most recent version of the code.starter-chat- contains the starter version of the chat app. This is the branch you switch to when following the second part of the series.offline-friendly-chat- contains the final output for the whole series.
- Install the app dependencies:
yarn install
- Eject the project (re-creates the
iosandandroidfolders):
react-native eject
- Link the dependencies:
react-native link
- Run the app:
react-native run-android
Built With
Donation
If this project helped you reduce time to develop, please consider buying me a cup of coffee :)
<a href="https://www.buymeacoffee.com/wernancheta" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
