Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

ShelterTechSF/askdarcel-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask Darcel App

Built with React Native for Android and iPhone

Version

0.0.1

Tech

The Ask Darcel App is open source with a public repository on GitHub.

Installation

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

Troubleshooting

If you get an error running the debugger (or any mysterious top-level exception) try:

$ cd android/ && ./gradlew clean && cd .. && react-native run-android