Giter Club home page Giter Club logo

app_demo_johnny's Introduction

Chào mừng bạn đến với team Mobile

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

Commit message convention

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.

Installation

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

Development

Bundle

You can run the application bundle by the script below

$ yarn start

Android

Run this script to build a development android application.

$ yarn dev:android

iOS

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

Generate CHANGELOG.md and inc release version

You need generate changelog for every production release

$ yarn release

Setup flipper debugger tool with redux

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.