So, we just downloaded the icon.png file there.
So, we're going to be using that and then we'll set up the version.
Currently, we are doing the 1.0.0 version.
So, that's the version that we're setting up here and
then we'll set up something called slug.
The slug gives the name that is going to
be used in your Expo account to identify this particular project.
So, in your Expo account,
when you give this name as "confusion",
the project will be identified as Expo.io and then
at the username and then slash and "confusion" that we have used here.
So, that's the same thing that I'm going to use here.
Then in addition, we need to configure two more properties called as iOS.
For iOS, we will configure a property called as bundleIdentifier.
This is something that the iOS uses when it builds the application and
the normal bundle identifier that we would use
is the reverse of the domain name for our company,
and the specific application.
Again, that is up to us to decide what to use.
So, let me add a net.food.confusion.confusion.
Again, depending on your company's domain name,
you would configure this appropriately.
Similarly, for Android, they would supply what
is called as the package name and so this would be supplied here as package.
Now, if you have done any iOS and Android development,
you would understand the package names
and all these things
that are used by Android studio or Xcode for iOS.
So, that is what you will configure in the app.json file.
Once, you have configured this, then,
it is time for us to build our a React Native Application and then,
build the corresponding APK file.
Now, in this exercise,
I'm going to demonstrate how to build the Android APK file.
For iOS also, there will be a similar process.
The instructions are given in the link that is provided in
the exercise resources for how to build for iOS.
I'm just going to demonstrate how to do this for Android.
So, let me go ahead and save the app.json file.
Before we go ahead and understand how this whole thing works,
again in the export documentation,
you will find a link to a tool of the XDE.
So, you can go through this link to understand how
the XDE is used in in export development.
Let me quickly draw your attention to the project lifecycle.
This sort of explains to you how this whole development is actually taking place.
So, in Expo, what we are doing is that if you use Expo XDE,
you will set up a new project using Expo XDE.
That is one way of arriving at the stage where you will be developing your project local.
The other alternative way of arriving at
this point is to use the Create React Native App that we have installed.
So, both of these parts will land you at the same point where you will
begin with the scaffolded out application
that is already set up with all the toolings necessary for you,
and so that you can develop your project locally.
Once you have developed your project,
then you will publish your project to the server.
Now, a part of doing this is already done when we configure the app.json file there,
and then we'll do the exp build which is the way we will build our APK
or our IPA files here and then when you build the APK or IPA files,
then you're ready to deploy it to the item iTunes Store or the Google Play Store.
Now, the other part detaching to Expokit.
I will talk about it a little bit later.
Now so, in this exercise we're going to go through this step of using exp build
to make use of the Expo's online services to build the APK file for our application.
So, how do we do that?
Going back to the terminal.
At the terminal prompt,
since we have already installed exp,
let me just verify that I have installed exp here,
yes indeed exp is installed and it is available at my command prompt.
You may need to restart your terminal window or command prompt.
Now look for the exp,
the command line tool to be available at the prompt.
So, I have already restarted by terminal window,
so I have exp available at the prompt.
So, to build our Android APK file at the prompt,
you simply type exp build:android,
and then, you will let the Expo builder go through the process of building up.
It's going to ask you a few questions after which it will set up and build the APK file
on the Expo's servers and then make the APK file available for you to download.
So, let's go ahead and start the build and this is going to take
quite some time for it to complete its work and again,
you have to make sure that you have set up the project correctly.
You can ignore these warnings,
that's not going to cause much issue for us and then,
it will go through a certain set of steps,
and then build up our application.
So, as you can see it is building up the JavaScript bundle first,
and then once that is done,
then it will go to the next step.