Skip to content

JWWon/tastie-client

Repository files navigation

Mobile Application of 'Tastie'

last update : 2020.03.15

Demonstration

https://www.youtube.com/watch?v=9-5IoSJVm_w

How to start

  1. Ask @Jiwoon Won to give permission of project
  2. Clone project
$ git clone git@gitlab.com:tastie/tastie-client.git
  1. Import env.ts and save on src/utils (Ask @Jiwoon Won)
  2. Download packages
$ cd tastie-client
$ yarn install
# for xcode
$ cd ios
$ pod install
$ cd ..
  1. Start emulator
$ yarn start
# open another bash shell

# if you want to run ios
$ yarn ios
# if you want to run android
$ yarn android

Optional

How to debug Firebase Analytics

Set setAnalyticsCollectionEnabled(true) on @navigations/index.ts

  • For iOS
$ open ios/Tastie.xcworkspace

# Press Run (Make sure schema is in debug mode)
  • For android
$ yarn android
$ yarn firebase-debug
# if you want to stop debug
$ yarn firebase-stop

How to deploy

iOS

https://docs.fastlane.tools/getting-started/ios/appstore-deployment/

CREATE RELEASE AUTOMATICALLY

Android

  1. Set password on keychain access (for macOS) Google Docs
  2. Download tastie-release.keystore, app-*.json and place it on ~/android/app Google Drive
  3. Generate Release AAB(Android App Bundle)

https://docs.fastlane.tools/getting-started/android/release-deployment/

CREATE RELEASE AUTOMATICALLY

$ cd android
# for generate Android App Bundle
$ ./gradlew bundleRelease
# for generate APK
$ ./gradlew app:assembleRelease

GENERATE FILE MANUALLY

Notice

  1. Project is following git-flow, atomic design pattern.

  2. This project requires 'macOS' to run and deploy iOS & Android project.