Building Mobile Applications Fast in 2022
React Native + Expo makes dev a whole lot easier.

Building Mobile Applications Fast in 2022

So you want to build an app, Let's hit the ground running.

We're using react-native (React but for mobile components) and expo (a lot nicer for mvp, eject back to React Native for native focused work)

yarn add react-native

You’ll need?Expo CLI?— a command line interface?(CLI). You’ll need to have Node.js (version 10 or newer) installed on your computer.?Download the latest version of Node.js.

Install Expo CLI using following command:

yarn add -g expo-cli


Mobile Client: Expo for iOS and Android

To test the app on actual physical device, you will need an expo client app for Android or iPhone. It can be found in the play store for Android and in the app store for iPhone. You can get them from here:


For Android:?https://play.google.com/store/apps/details?id=host.exp.exponent&hl=en
For iPhone:?https://itunes.apple.com/us/app/expo-client/id982107779?mt=8


Now, time to create our first project. Enter the follow command:

expo init app_name


In?app_name,?you can enter app’s name that you want to create. After entering the above command, you’ll be asked to enter the type of template that you want. You can select any type that you want

Now the template and app is ready to build.

You will the project generated in your directory

Just follow the commands and start the project:

cd <app_name>
npm start “or” yarn start

After successfully following the above commands, you’ll have the QR code that can be scanned from the Expo App in android and from the Camera App in the iOS. You can scan the QR code to get the app.

I made a QR code scanner app to share here

Check it out, build apps, save the world.

Hope you enjoyed <3

Jonathan Gan

Senior Technical Analyst | Computer Engineering

2 å¹´

I started this blog because I got kicked off Medium's Partner Program, AKA Im open sourcing my work so that no body else make money off it if I can't, feel free to subscribe to the hustle here.

要查看或添加评论,请登录

Jonathan Gan的更多文章

社区洞察

其他会员也浏览了