Creating an apk for your react native app with expo client
1 min readFeb 1, 2018
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
- Make sure you have an expo module installed.
- 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.