Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
leanhtuan1994 committed Dec 24, 2020
2 parents 4cf48c9 + 436c9b9 commit 445fd30
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 12 deletions.
49 changes: 37 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,32 @@
<br />

## Navigation
## 📦 Getting started

Installing Dependencies:

```bash
$ yarn install
$ yarn pod
```

Running the app:

```bash
$ yarn start
```

For starting the app on a specific OS:

```bash
$ yarn ios | yarn android
```

<br />

## 👩🏾‍💻 Development

### Navigation

- https://reactnavigation.org/

Expand All @@ -14,23 +39,23 @@

<br/>

## State Management using Context API & Hooks
### State Management using Context API & Hooks

## SVG
### SVG

- https://github.com/react-native-community/react-native-svg
- https://github.com/kristerkari/react-native-svg-transformer

## i18n & l10n
### i18n & l10n

### Setup:
#### Setup:

- https://react.i18next.com/
- https://www.i18next.com/
- https://github.com/zoontek/react-native-localize
- https://github.com/react-native-async-storage/async-storage

### How to use:
#### How to use:

- Follow setup languages at `./app/utils/translations`
- Using `./languages` by common localize, using anywhere in the project
Expand All @@ -50,22 +75,22 @@ export function MyComponent() {
}
```

## Animated
### Animated

- https://github.com/wcandillon/react-native-redash
- https://github.com/software-mansion/react-native-reanimated

## BottomSheet
### BottomSheet

- A performant interactive bottom sheet with fully configurable options: [Gorhom React Native Bottom Sheet](https://gorhom.github.io/react-native-bottom-sheet/)

## UI Kit
### UI Kit

- [React Native Elements](https://reactnativeelements.com/docs)
- [React Native Vector Icons](https://github.com/oblador/react-native-vector-icons)
- Please check custom theme at here: `./app/styles/theme`

## Unit test
### Unit test

- Write your own test suit by create a js file in `__test__` folder
- Test suit must have postfix `.test.test`
Expand All @@ -76,11 +101,11 @@ export function MyComponent() {
- https://jestjs.io/docs/en/getting-started
- https://enzymejs.github.io/enzyme/docs/guides/react-native.html

## Firebase
### Firebase

If you wanna use firebase in this project, please check branch `features/firebase` with fully setup firebase & notification.

## Visual Studio Extensions Recommendation
### Visual Studio Extensions Recommendation

- Auto Close Tag
- Bracket Pair Colorizer
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"react-native-linear-gradient": "^2.5.6",
"react-native-localize": "^2.0.1",
"react-native-reanimated": "^1.13.2",
"react-native-redash": "^16.0.4",
"react-native-safe-area-context": "^3.1.9",
"react-native-screens": "^2.16.1",
"react-native-splash-screen": "^3.2.0",
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7199,6 +7199,15 @@ react-native-redash@^14.2.4:
normalize-svg-path "^1.0.1"
parse-svg-path "^0.1.2"

react-native-redash@^16.0.4:
version "16.0.4"
resolved "https://registry.yarnpkg.com/react-native-redash/-/react-native-redash-16.0.4.tgz#d3bef676a91b21f22b8d663925231272aa3d1125"
integrity sha512-Pz+Tj09Esn5A6ESlUP+Mtc/U2UnAhZEUt7FUrPlkz7SHHsnnCb+9T3tOeWlXimuJrFc7uYnqFfHG9iVUlD/aDg==
dependencies:
abs-svg-path "^0.1.1"
normalize-svg-path "^1.0.1"
parse-svg-path "^0.1.2"

react-native-safe-area-context@^3.1.9:
version "3.1.9"
resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-3.1.9.tgz#48864ea976b0fa57142a2cc523e1fd3314e7247e"
Expand Down

0 comments on commit 445fd30

Please sign in to comment.