Skip to content

mynavitechtus-minhnt3/techtus_base_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOUR_PROJECT_NAME

The simple Flutter project

Getting Started

Requirements

  • Flutter SDK: 3.35.1
  • CocoaPods: 1.16.2

How to run app

  • cd to root folder of project
  • Run make gen_env
  • Run make sync
  • Run app via IDE
  • Enjoy!

Starting new project

1. Config multi-flavors and Firebase

2. Secrets configuration

  • Define secret constants in env.dart and JSON files in folder dart_defines including:
    • dart_defines/develop.json
    • dart_defines/qa.json
    • dart_defines/staging.json
    • dart_defines/production.json

For example:

{
  "FLAVOR": "develop",
  "APP_BASIC_AUTH_NAME": "admin",
  "APP_BASIC_AUTH_PASSWORD": "admin"
}

3. Other configs

  • designDeviceWidth, designDeviceHeight, materialAppTitle, taskMenuMaterialAppColor, systemUiOverlay, mobileOrientation, tabletOrientation in constant.dart

4. Update README.md

5. Setup Fastlane (optional)

  • Install Fastlane
  • Run make fastlane_update_plugins
  • Create a single file .env.default at the project root
  • Paste this into the file
SLACK_HOOKS_URL=https://hooks.slack.com/services/xxx
ISSUER_ID=xxx
FIREBASE_TOKEN=1//xxx
MENTIONS=@minhnt3
MESSAGE=Xin các anh chị tester nhẹ tay giúp!
DEV_FLAVOR=develop
QA_FLAVOR=qa
STG_FLAVOR=staging

6. Setup Lefthook (optional)

Note

1. Upgrading Flutter

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •