0.0.1
- [React Native] react-native
- Redux redux
The Ask Darcel App is open source with a public repository on GitHub.
The current version of React Native for iOS requires XCode v7+ to run. For android development Android Studio provides emulator options. I recommend testing on a lower-end model with Jelly Bean.
You need the React Native client installed globally:
$ npm install -g react-native-cli
$ git clone https://github.com/ShelterTechSF/askdarcel-app.git
$ cd askdarcel-app
$ npm install
You also need some experimental components that aren't packed with React Native by default. To add them to your library, run this in your terminal:
$ for file in 'FlatList' 'MetroListView' 'VirtualizedList' 'VirtualizeUtils' 'ViewabilityHelper'; \
do curl https://raw.githubusercontent.com/facebook/react-native/master/Libraries/Experimental/${file}.js > node_modules/react-native/Libraries/Experimental/${file}.js; \
done
If you get an error running the debugger (or any mysterious top-level exception) try:
$ cd android/ && ./gradlew clean && cd .. && react-native run-android