This is our mobile repository. It contains the React Native app.
Check out the meta, client, server and api docs repositories.
If you run OSX then download the iOS FacebookSDK and unzip the archive to ~/Documents/FacebookSDK
- Run
yarn install
- Run
react-native link
- Because of weird bug, react native does not have btoa and atob functions, but it is needed in auth library, for that we need to import btoa and atob in that library. (this is temporary solution, I will create PR to support react-native to that library). For now, you can run the app by enabling Remote debug mode, and app will work as it should.
- Install react-native-debugger
- Run
yarn debug
- Shake the device and tap
Debug JS Remotely
- Packager fails to resolve aliases at first run. Do
yarn start:reset
instead ofyarn start
at first launch. Same applies when running the app withreact-native run-ios
orreact-native run-android
. Kill the packager and typeyarn start:reset