
The is a Zhihu Daily App client, implemented using React Native. This project can run on both Android and iOS, with more than 80% of code in common. This is a demo project to show how to develop a complete app with React Native. (The data api is from ZhihuDailyPurify)



- Prepare your environment: Requirements and Android Setup
- Clone this repo, and goto the project root directory
- run
npm install
- run
react-native run-android
- Enjoy
In this project, I used most of technology in React Native:
- Flex Style
- Direct Manipulation
- Native UI Components
- DrawerLayoutAndroid
- Image/Text/ListView
- TouchableHighlight/TouchableNativeFeedback
- ToolbarAndroid/Navigator
- StyleSheet/ToastAndroid/BackAndroid
- Timers
- AsyncStorage
- Animations
- Customize view
- ...
Add local storage to cache data (done)
Add List header banner (done)
Add splash animation (done)
Add swipe/pull to refresh (done)
iOS compatible(done 80% of code in common)
This project is available under the MIT license.