Getting started with React Native and Expo

React Native is a framework for building native apps using React.

Expo is a framework and a platform for universal React applications. It is a set of tools and services built around React Native and native platforms that help you develop, build, deploy, and quickly iterate on iOS, Android, and web apps from the same JavaScript/TypeScript codebase.

Step 1. Install NodeJs

It is convenient to install and manage node using nvm (node version manager). Follow the instructions on below page to install:

How To Install NodeJs using NVM on Ubuntu 18.04 LTS

Step 2. Get the command line tool – EXPO CLI

npm install expo-cli --global

Step 3. Create a project

expo init my-new-project
cd my-new-project
expo start

Step 4. Preview your project

Open Expo Client on your device. Scan the QR code printed by expo start with Expo Client (Android) or Camera (iOS). You may have to wait a minute while your project bundles and loads for the first time.