Creating an apk for your react native app with expo client

Expo provides you the fastest way to build an app. With Expo tools, services, and React, you can build, deploy, and quickly iterate on native Android, iOS, and web apps from the same JavaScript codebase.

Here are the steps to create an apk

npm install exp --global

3. You must have an app.json file

4. Contents of app.json file

{
"expo": {
"name": "your app name",
"description": "your app desc",
....,
"ios": {
"supportsTablet": true
},

"android": {
"package": "com.yourcompany.yourappname"
}
}
}

5. Then run

exp build:android

6. The process will take a few minutes. After that run

exp build:status

to check the status of the build process. Once done, it will return a downloadable link to apk.

--

--

Javascript 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