A simple React Native Template based on Obytes Mobile tribe best practices.
- ✅ Typescript by default based on official Typescript template
- ✅ Generate App Icon and Splash screen
- ✅ React Navigation Pre-installed
- ✅ Auth flow with sensitive-info to secure tokens
- ✅ A clean project structure based on our experience with React Native
- ✅ Minimal UI kit setup using restyle and configurable theme & icons using react-native-svg
- ✅ A good approach to handle forms based on react-hook-form
- ✅ A complete setup to Handle Errors
- ✅ Handel environment variables with react-native-env
- ✅ Localization
- More ...
npx react-native init MyApp --template https://github.com/obytes/react-native-template-obytes
Replace App logo template logo.png
with your logo under assets
folder
Run the following command to generate App icons assets :
react-native set-icon --path ./assets/logo.png --background "#FFF"
For android icon Make sure to provide a logo with more padding and generate a new app icon for android :
react-native set-icon --platform android --path ./assets/android_logo.png --background "#FFF"
To generate a standard splash screen using bootsplash package.
yarn react-native generate-bootsplash assets/logo.png \
--background-color=FFFFFF \
--logo-width=150 \
--assets-path=assets
More details how to customize App Icon and Splash screen
👉 https://handbook.obytes.com/docs/mobile/get-started
TO BE DONE