PWA vs React Native: what should I choose?


React Native is a framework developed by Facebook. It uses JavaScript code to build UI components. The apps built using React Native are supported by both iOS and Android and therefore the code will be used for both of them. 
Mobile applications written in React Native are used by giants like Instagram, Facebook, Tesla, and others.

Pros
  • Work as Native Mobile Applications
  • Secure, Fast, Reliable
  • Can be submitted to Apple & Google store
  • 3rd party Integrations
  • Native Feature Support (Push notifications, geolocation, camera, Bluetooth, etc)

Cons
  • Require to be downloaded. Store submission may take time (require to be downloaded)
  1. Apple: 7 working days for initial submission. Around 4 working days for revisions
  2. Google: 7 working days for initial submission. Around 24 working hours for revisions
  3. Way Around~1: The Approval process are often expedited by special request with details
  4. Way Around~2: another choice is to use local distribution channels like, Apple Enterprise, Android Enterprise

A Progressive Web App is an application where all the assets (HTML, CSS, Javascript, Images, etc) are kept within the browser, using web workers, which permit you to use them offline and to add a shortcut on your home screen.

Pros
  • Runs everywhere ( mobile, tablet, desktop, fridge, windows phone)
  • You have a web version (almost) for free of charge 
  • Can deploy a brand new version during a few seconds
  • Easier to share
Cons
  • Restricted features (depending upon the browser)
  • Not possible (yet) to have a background process (push notifications, geofencing, Bluetooth, etc)
  • Your app can't be found within the store
  • High battery consumption
  • Lower Performance
  • Work best for static content mostly

Comments