An open API service indexing awesome lists of open source software.

https://github.com/khofesh/rntemplate


https://github.com/khofesh/rntemplate

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# React Native Template

hola!

default settings:

1. react navigation
2. redux and redux-thunk
3. react native elements
4. hermes engine is enabled
5. react-native-config
6. react-native-vector-icons

# HowTo

```
npx react-native init yourProjectName --template https://github.com/khofesh/rntemplate.git
```

# After creating RN project

## react-native-vector-icons

```
npx react-native link react-native-vector-icons
```

## enable hermes engine

https://reactnative.dev/docs/hermes

## react-native-config

https://github.com/luggit/react-native-config

on your android/app/build.gradle, add the following:

```
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
```

## Authentication

set authentication properly

# References

default template: \
https://github.com/facebook/react-native/tree/master/template \
examples: \
https://medium.com/dailyjs/the-1-2-3s-of-react-native-templates-1f5dda037e11 \
https://github.com/react-native-community/react-native-template-typescript \
https://github.com/react-native-community/cli/blob/master/docs/init.md#creating-custom-template \