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:install
Pod reinstall: if you { have } any error with pod, you can reinstall by this script
$ yarn pod:reinstall
Pod update: you can update your pod with this script
$ yarn pod:update
You can run the application bundle by the script below
$ yarn start
Note: If you want to reset cached bundle, you can use this script
$ yarn dev
Run this script to build a development android application.
$ yarn android
Run this script to build a development android application.
$ yarn 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...