Serchinastico / fourdays

Code for the Four Days application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Four Days

Code for the Four Days application

Building the project

  1. First run yarn install
    1. If you find any error applying patches, just apply them manually

Building for Android

  1. Just run yarn android.

For release versions:

  1. Go to android.
  2. Run ./gradlew assembleRelease.

Building for iOS

  1. Install Cocoapods.
  2. Run pod install from the ./ios directory.

For release versions:

  1. Open the workspace with XCode.
  2. Connect a physical device.
  3. Change the scheme to Release.
  4. Go to Build > Archive
  5. Once it's done you will have the option to upload directly to the store.

React Native and iOS don't play well together.

Problems I found multiple times and their potential solutions:

glog/logging not found

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:

Webpage

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.

About

Code for the Four Days application


Languages

Language:JavaScript 49.9%Language:TypeScript 36.3%Language:Java 3.4%Language:Objective-C 3.2%Language:Kotlin 2.8%Language:HTML 1.5%Language:Shell 1.1%Language:Ruby 1.0%Language:Starlark 0.9%