Hãy luôn trao dồi, học hỏi và giữ trong mình niềm đam mê lập trình.
Đây là một project được setup giống như với dự án bên ngoài, vậy nên khi đọc bạn thấy ngợp là chuyện bình thường :>
Hãy hít thở thật sâu và từ từ tận hưởng những công nghệ, kiến thức tuyệt vời mà project mang lại nhé <3
NOTE: you must have the knowledge about commitlint convention, react hooks, redux, redux-toolkit, redux-saga
Why we need commit convension? ===> Read here
We follow the conventional commits specification for our commit messages:
- fix: Bug fixes, e.g. fix Button color on DarkTheme.
- feat: New features, e.g. add Snackbar component.
- refactor: Code refactor, e.g. new folder structure for components.
- docs: Changes into documentation, e.g. add usage example for Button.
- test: Adding or updating tests, eg unit, snapshot testing.
- chore: Tooling changes, e.g. change circleci config.
- BREAKING CHANGE: For changes that break existing usage, e.g. change API of a component.
Install the package:
$ yarn install
Reinstall the package, it will remove node_modules
folder :
$ yarn reinstall
Pod install:
$ yarn pod
Pod reinstall: if you { have } any error with pod, you can reinstall by this script
$ yarn pod:reinstall
You can run the application bundle by the script below
$ yarn start
Run this script to build a development android application.
$ yarn dev:android
Run this script to build a development android application.
$ yarn dev:ios
Note: Read this doc if you { want } to run on your device React native | Run on device
You need generate changelog for every production release
$ yarn release
Step 1: Install flipper debbug app
Step 2: Set up Doctor ( Flipper ) Android SDK location: Android/sdk IDB binary location: /usr/local/bin/idb
If you don't have IDB:
Install pip: https://pip.pypa.io/en/stable/installation/ python -m ensurepip --upgrade python get-pip.py
Upgrading pip python -m pip install --upgrade pip
Install IDB companion: https://fbidb.io/docs/installation/#idb-client brew tap facebook/fb brew install idb-companion
IDB client: pip3 install fb-idb
Export IDB companion: add export PATH=$PATH:/usr/local/bin/idb_companion to .bash_profile source ~/.bash_profile
Step 3: Install react-native-flipper in project yarn add react-native-flipper Add use_flipper!({ 'Flipper' => 'version react-native-flipper' }) in Podfile cd ios pod install
Step 4: Install flipper redux install Redux Debugger in Flipper: Plugin Manager -> Install Plugins -> search redux-debugger -> install redux-debugger ( Redux Debugger for Flipper )
install in project: https://github.com/jk-gan/flipper-plugin-redux-debugger
Step 5: ( 144 duplicate symbols for architecture x86_64 ) Xcode -> Folder -> Pods -> Build Phases CocaAsyncSocket -> Remove GCDAsyncUdpSocket.m TcSockets -> Remove GCDAsyncSoket.m
updating...