NATIVE AND REACT NATIVE APPLICATIONS

Whenever we are talking about apps there’s a word term as a native app. In this blog, I’ll tell you everything that you should know about the Native and React Native applications.

 NATIVE APPLICATIONS

APPLICATIONS

An Android app is a software app which is running on the Android platform. Because the Android platform is made for mobile devices, it’s a layout for smartphone and PC. So the mobile app is a computer program which is specially designed to run programs on computer/tablet or mobile devices.

APPLICATIONS of androidNative and React native applications

Now I’ll discuss native and react native applications. Firstly we’ll see what native applications are.

NATIVE APPS

Native apps are present on the device and are penetrating through icons on the device home screen. We install native apps in our mobile device through play store (such as Google Play or Apple’s App Store). They are platform specific and can take full benefits of

all the device characteristics. They can use the camera, the GPS, the accelerometer, the compass, the list of contacts, and so on. We can work offline through Native apps and they use the Notification system.

NATIVE APPS

Native applications coded for specific programming languages such as Objective C for ios and java for android applications.

EXAMPLE OF NATIVE APPS

For example, the Facebook application was once written in HTML5 we can use the same code for iOS, Android, and mobile web. However, this app was slower for iOS users, therefore Facebook’s app developers to create different code for iOS.

With the ability to tap into specific resources, native apps can easily and fastly access various services on a device, like a microphone, accelerometer or push notifications. Native applications examples: range from navigation programs, like Waze, to social apps, such as Twitter, or games, such as Pokemon GO.

We can install Native apps directly on mobile devices. Data related with the native app is stored on the device or remotely — like in cloud-based storage.

PROS/CONS

PROSCONS
Best functionality and user experienceMust build and maintain separate versions of the app (iOS and Android)
Fastest and most responsiveSubject to slow app store reviews.
Apps don’t require internet
Distribution through the app stores

WHAT IS REACT NATIVE

  • It is a javascript framework for building ios and Android mobile apps.
  • React native is based on the popular javascript web framework called the web.
  • This is created by Facebook.
  • We can write the code with the help of javascript and XML esque markup.

WHAT IS REACT NATIVE

ARCHITECTURE OF REACT NATIVE

An architecture “Reactive Core Architecture” that allows to have just one code base for the logic and keep the native UI and the web UI separated, maximizing code reuse and maintaining consistency across platforms.

ARCHITECTURE

It uses three modules:

  1. The Core: includes business logic and state of the app. Reuse of code is done here.
  2. The Mobile Apps: with the help of containers and components  we can implement standard React application
  3. The Web Applications: with the help of containers and components  we can implement standard React application

Repose on a basic Redux structure, meaning we have a folder for the actions and a folder for the reducers.

React Native app and React app both use components and containers concepts. The components provide the UI blocks. The containers attach/associates the Redux actions with the UI components.

PROS/CONS

PROSCONS
It allowed code reuse across the webReadymade components are React Native.
Hot-reloading is the main feature of React Native.changes done in the code shows immediately into ios and android app.Native Code is  Required
We Don’t have to start from scratch of objective C, Java or swift to construct native apps.Lacking in app performance as compared to the pure native app.
It gives better performance by using native controls and native modules.Component Quality is not good.
In reacting native we use readymade component which increases the speed also efficiencyMemory Management is poor

Happy Learning !!

For study material subscribe to our YouTube channel –https://www.youtube.com/channel/UCcWR1IezEQynJnAETgK8g2w?sub_confirmation=1

and follow us on facebook – https://www.facebook.com/pristinetechschool

Leave a Reply

Your email address will not be published. Required fields are marked *