What’s a Native Module?
A native module is a set of javascript functions that are implemented natively for each platform (in our case is iOS and Android). It is used in cases where native capabilities are needed, that react native doesn’t have a corresponding module yet, or when the native performance is better.

NOTE: Just so you know, there is also such a thing called a Native UI Component that creates a native view that can be used inside the jsx. …


App Architecture and Folder setup for React native App Development

Most of the React native app is based on the container design pattern with React-Redux along with this we can also use Redux-Thunk and Redux-Saga to work as middleware that lets you call action creators that return a function instead of an action object.

Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments. this means the entire data flow of the app is handle within a single container while persisting pervious state.

Redux can be broken down into few sections while building the application which are listed below.


Remember you first need to have curl on your machine, you can install it by below command
sudo apt-get install curl

All Node js version available on below url
https://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version

And now we can install Nodejs by below command:
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs

If you had Nodejs before on your machine you need to update NPM (Node package manager), it is an optional command
remember npm comes with Nodejs itself and doesn’t need to install it separately
sudo npm install npm@latest -g

Install Create-React-App Tool on your machine
Now we need to…


All Node js version available here.
https://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version

1.
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v

2.
sudo npm install -g react-native-cli

3.
sudo apt install openjdk-8-jdk

4.
Android Studio down
Android SDK
Android SDK Platform
Android Virtual Device

Configure SDK
A React Native app requires the Android 9 (Pie) SDK. Install it throught the SDK Manager in Android Studio. Expand the Pie selection by clicking the Show Package Details box. Make sure the follow options are checked:

Android SDK Platform 28
Intel x86 Atom_64 System Image or Google APIs…

Azad Singh

Full Stack Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store