Quick Start Guide

na
Last updated 7 months ago

Quick Start Guide:

The following guide will enable you to customize the app to your own preference

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

Install the react-native-rename package by running:

npm install react-native-rename –g, to make sure the application is easily renamed to your own.

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 from the snappreneurBundle and replace the <myapp> with your app name on the first line, don’t remove <com.>

Also replace <myapp> on line 13 with your app name as in the above scrrenshot.

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

Demo app login details:

Photographer 1:

email = mbali@me.com

Password = passwords

Photographer 2:

email = nathi@me.com

Password = password

Folders structure:

Assets – holds your logo and default profile picture.

Android – hosts all the configuration of the app, only focus on those that are listed on this documentation.

Components – holds all the code the runs the app.

- independent items can be used from this, i.e. pricing page or grid images gallery

Essential – configs files to be copied as per instructions on the quick start guide

Firebase_functions_pushNotification_script – script to setup push notifications.