Customization and Installation
Last updated
Last updated
Copy the downloaded code from codecanyon and place it under documents or any directory of your choosing.
Open the snappreneurBundle folder and run <npm install> on your command line interface
Make sure you have a backup of the project before proceeding
Install the react-native-rename package by running:
npm install react-native-rename -g
Rename the project to your preferred name by running:
react-native-rename <newName>
Example:
react-native-rename "Photographers App"
Copy all files from the essential folder and paste them under:
Android/app/src/main/java/com/<your app name>
Open MainActivity.java and replace the <myapp> with your app name on the first line, don’t remove <com.>
Splash Screens and launch icon:
Also replace <myapp> on line 13 with your app name.
Open MainApplication.java and replace the <myapp> with your app name on the first line, don’t remove <com.>
Open SplashActivity.java and replace the <myapp> with your app name on the first line, don’t remove <com.>
Open Components/mainscreen.js and edit line 112. and enter your app’s name
on line 113 change the path to the app logo icon - if you please - to your own icon/logo
Open - android/app/src/main/res- folder and under all folders starting with <drawable> replace all images inside the with your own images with the corresponding sizes for splash screens and app icons for different screens. Make sure you get the already existing images’ sizes to match correctly before replacing.