The react version of the RF+1 app.
Technologies used:
- React-native
- Redux
- Immutable.js
- Facebook's SDK
For iOS use
react-native run-iosand for Android use
react-native run-androidFirst inkscape is needed. Either download it or install via homebrew and cask
brew cask install inkscapeand imagemagick
brew install imagemagickthen finally, run make in graphics
cd graphics
makeand the images should be created.
Basically the following should be enough, but in any case, the rest of the dependencies are listed here as well.
npm -i install
rnpm install react-native-fbsdkInstall redux
npm install --save reduxand react bindings along with dev tools
npm install --save react-redux
npm install --save-dev redux-devtoolsand for routing
npm install --save react-router
npm install --save react-native-router-fluxnpm install --save immutablenpm install --save redux-persistFor the JavaScript packages install rnpm
npm install -g rnpmand then install the react-native-fbsdk with
rnpm install react-native-fbsdkThen you need to configure the projects iOS and Android projects by following
the react-native-fbsdk configuration guide (already done, but if something is missing this might be the place to start).
Open the /android folder in Android Studio as an existing Android Studio project. This will run gradle and setup the project and make sure you have the correct dependencies (for example build-tools etc).
Open the /ios/PlusOne.xcodeproj project with xCode.
Related to react/react-native#4968. Only fix that worked for me, personally, was to rebuild in Xcode.



