Creating an apk for your react native app with expo client

Here are the steps to create an apk

  1. Make sure you have an expo module installed.
  2. To install exp, run
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.

--

--

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