The react version of the RF+1 app.
Technologies used:
- React-native
- Redux
- Immutable.js
- Facebook's SDK
For iOS use
react-native run-ios
and for Android use
react-native run-android
First inkscape is needed. Either download it or install via homebrew and cask
brew cask install inkscape
and imagemagick
brew install imagemagick
then finally, run make
in graphics
cd graphics
make
and 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-fbsdk
Install redux
npm install --save redux
and react bindings along with dev tools
npm install --save react-redux
npm install --save-dev redux-devtools
and for routing
npm install --save react-router
npm install --save react-native-router-flux
npm install --save immutable
npm install --save redux-persist
For the JavaScript packages install rnpm
npm install -g rnpm
and then install the react-native-fbsdk with
rnpm install react-native-fbsdk
Then 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 facebook/react-native#4968. Only fix that worked for me, personally, was to rebuild in Xcode.