This template is a fork of @thecodingmachine/react-native-boilerplate.
Node 12 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up.
You also need to install the dependencies required by React Native.
Go to the React Native environment setup, then select React Native CLI Quickstart
tab.
Follow instructions for your given development OS
and target OS
.
Run this command to create a new React Native App using this template:
npx react-native init NameOfApp --template https://github.com/paolosantarsiero/RNtemplateFirebaseRedux.git
Now you have to run this command to change name app in every place:
npx react-native-rename RoadMapCilento
For iOS you must install pods running this command:
npx pod-install
If you find any error try to reinstall all Pods running:
cd ios
pod deintegrate && pod install
For Android app from React 0.60 or above all linking is automatic so you have to do nothing
This template is developed using TypeScript and using different third react native library included in this list:
- @thecodingmachine/react-native-boilerplate to using theming standards.
- @react-navigation to handle navigation app.
- react-native-paper to use different UI component.
- @react-native-firebase to using firebase services.
- react-redux-firebase to saving data locally.
- react-native-maps to using mapview.
- react-native-vector-icons to render svg icons or using icon on this site.
- react-native-reanimated. If you find some error installing other libraries that used this for dependencies try to reinstall Reanimated on android following this link
Best practices to using custom font or custom icons is using react-native-vector-icons and following this tutorial