Code for the Four Days application
yarn install
yarn android
.For release versions:
android
../gradlew assembleRelease
.pod install
from the ./ios
directory.For release versions:
React Native and iOS don't play well together.
Problems I found multiple times and their potential solutions:
This is probably because glog, a third party library used by react native, hasn't been compiled correctly.
Go to node_modules/react-native
Try running scripts/ios-install-third-party.sh
to download the four or so libs react native uses.
Go to third-party/glog-0.3.5
Run ./configure && make && make install
References:
The webpage is plain HTML + LESS. To compile LESS to CSS just run npm install less -g
and then run lessc fourdays.less fourdays.css
.
I'm using Browser-sync to automatically reload the webpage on file changes.