From f066362507a8d43293b062721472020d75388c59 Mon Sep 17 00:00:00 2001 From: Mitrasish Mukherjee <34746546+mmitrasish@users.noreply.github.com> Date: Fri, 5 Jun 2020 15:28:01 +0530 Subject: [PATCH] Updated the build process --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index bef70078..8967f3cb 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,26 @@ expo start //This will open a window in http://localhost:19002 ``` Now you have to open expo app in android and ios and scan the QR code from the metro bundler in http://localhost:19002 ,You will be able run the app now. +## How to Build? + +You can build the app using expo commands: + +- For Android +``` +expo build:android -t apk // for building apk +expo build:android -t app-bundle // for building bundle +``` +These command directly build your app but you have to create an account on expo. Also for more details regarding building for android you can follow this doc [Expo Android Build Doc](https://docs.expo.io/distribution/building-standalone-apps/#if-you-choose-to-build-for-android). This has a step by step instructions to build your app. + +- For IOS +``` +expo build:ios -t archive // for app store +expo build:ios -t simulator // for simulation +``` +Same as of android. Also for more details regarding building for ios you can follow this doc [Expo IOS Build Doc](https://docs.expo.io/distribution/building-standalone-apps/#if-you-choose-to-build-for-ios). This has a step by step instructions to build your app. + +*Or you can directly build ios and android app from xcode and android studio directly which is same as you do for standalone app.* + ## Demo Video You can watch the small demo video [here](https://drive.google.com/file/d/1Mm8V093ULBbVRPmZH0JZQ6uhasFEbQXB/view?usp=sharing).