Skip to main content

Working with mobile app

Folder Structure

All the image related resources are stored in the assets folder. All the code for the screens and components are inside the src folder

Components

The components folder contains components which are either used in multiple places or separated into their current state from a larger component for code re-usability and simplification 

Constants

The constant folder contains information such as the type of environment you want the project to run in (local/dev/production) and some important values being used throughout the app such as, default redirect route after login, server links etc., 

Helpers

Helpers are common functions being used in different components of the mobile-app

Redux

Containing the redux setup for the application and contains actions, reducers etc.

Screens

This folder contains the files for all the screens in the app. To create a new screen, we create the file inside this folder and then configure it inside "main.js" file, which contains all the navigation and deeplink related setup

Automation

Contains scripts for automating the installation of the application during development

Android

Default android directory created by RN CLI

Android

Default ios directory created by RN CLI

Plugins

Contains plugins for automating the installation of the application during development

Styles

Contains styles for theming of the application