Step 6. Deploy mobile apps

Build the Android app

First, we will start to build or Android app, run this command 

expo build:android


After running this command you will be asked about the keystore and you should see something like this. We recommended to choose the first one, to let expo to build handle the process. 

TaZnmh83wNPtFz0Jwtlz3lvQdR0lJZXvnrDxyBe4.png

When the build process is done you should click on the url that will show in the terminal or cmd.

2Qfm5QES6C3i9Gwy5bOnC6Rlhhi4vqwR8xFU4CmH.png

and it will open the expo logs, and there when the process is completed you should be able to download the apk file.

1HABCrIODF1nfTNhZmTY7MBNlPTKbUf9jskN2i9S.png

Upload this apk file to your google play developer account.


 Build the iOS app


Now you will run this command, but first, make sure that you are in the correct place where package.json is.

expo build:ios

After you will be asked about your credentials. You should see something like in the picture below.

And for the question that you will be asked, we recommended the second one to let EXPO handle the credentials.

 SAWgHWfjwvNcN7B6LEdBNIXexAJ08c1c3NDYLg9d.png

And now you will be asked about your apple id and password.  You should have Apple developer account to be able to upload the app on App Store