To run React Native Baba Commerce app Template, you must have the latest node and npm installed in your development environment.
We are using the latest react native 0.66 version with react native CLI and React Navigation 6X.
we are using node version v13.7.0
Android Studio 4.2.1
X code 12.5
and most importantly typescript with hooks
Note we are not using any UI library in this project like react native element, native base, etc. Custom components are our first priority.
Please make sure you already have set up React native environment on your pc.
You can set your environment by this official link provided by React native
https://reactnative.dev/docs/environment-setup
Navigate to the project folder after downloading and extracting the main files from code canyon.
cd BabaCommerce
Install dependencies
npm install
For iOS
cd ios && pod install && cd ..
npx react-native run-ios
For Android
For Check that any android device is connected
Now run
Splash screen and app icon
For Android
Customize your launch screen app icon by creating a splashscreen.png -file , ic_launcher.png and ic_launcher_round.png and placing it in an appropriate drawable-folder. Android automatically scales drawable, so you do not necessarily need to provide images for all phone densities. You can create splash screens in the following folders:
drawable-ldpi
drawable-mdpi
drawable-hdpi
drawable-xhdpi
drawable-xxhdpi
drawable-xxxhdpi
Change Splash Screen status bar color with primary_dark in app/src/main/res/values/colors.xml
For Ios
Customize your splash screen via LaunchImage or LaunchScreen.xib
You can check this documentation for app icon and splash screen