All right so let's keep moving forward in this.
Now we're going to run our application without Expo.
And the thing is that if you want to run it just like this we can not really do it.
When you create an application chest with Expo Expo will create your we'll bring all the files and create
all the logic for you for your application for using expo.
So you can not run a native application on the simulator with Expo told before it.
Now you get you get a few choices and let's assume that for example in the future you will start creating
an application and you gonna say OK I'm going to use Expo because you know it's a simple application
so I can use Expo and it's gonna make my life easier.
Well that's that's OK.
Now maybe later you're gonna say oh do it I need to do more complex things.
I just need to not use Expo.
And maybe you did all your project on Expo and then you just need to change it.
And the problem is that you know you will need to change everything or create a new project and migrate
you know everything you've got.
And that's not good.
So they give you an object way.
So if you do NPM run eject this is going to restructure all our application to not use Expo.
Now in might my recommendation is that if you want to create application and you have a filling that
you will need to create more complex things just create the the react application not with expo from
from the start from the gecko because sometimes the eject doesn't work that you know will not work that
good tried it with a couple of projects a few weeks ago and it just killed my project and I have to
you know migrate everything and it couldn't fix it.
Oh of course I could fix it but I need needed to do manually.
So again Expo is really good if you know that your application is going to be a simple application.
You know if you now know I'm going to do Expo eject and you know to see what happens Expo object.
And of course it's going to take a minute.
So then it's going to say how would you like to eject your app now it's gonna give you three options
and if you check the documentation I just cannot I couldn't find anything about this.
And that's the first problem with Expo.
The documentation is really good but sometimes you're just not you're not finding what you want.
So you get three options no cancel of course.
And Expo kit which is kind of a mix of both or you know just react native.
And it says I like a regular react native project.
So this is just react native without Expo which is what we want.
I'm going to press enter and then he's going to say what you a app appear.
Well if you press Enter is going to use that Expo test we use previously.
All right.
How you should your Android Studio and exit code project be called going to pretty much do the same
thing.
Expo test is going gonna start pretty much changing your application and notice it says removing nude
modules and then it's going to store install again.
And notice that the structure of our application it's kind of slowly changing.
Now we have a non droid directory and a NIOSH directory.
Before this we had no access to Android in AoS and this are the files of your Android application.
You know the native files grand old you know we can see all the native files.
Don't worry we're going to go through this on the you know with the course as U.S. advance to the course.
All right.
So once you eject you know you get what you wanted to and notice that the package that Jason changes
a little bit.
And now we have different dependencies and different scripts and we have start and now we have Android
and now we have AOS and notice that we can run our U.S. ads.
So these are the commands we can run if you want to run a simulation of our application with no exploit
all on the simulator.
So I got to go to the simulator and just you know just kill it because we're going to do it right now
in a couple of seconds now remember just remember that if you're a Mac user you can run Android Studio.
You can run an android simulation in your computer and you can run an ISIS simulation in your computer.
Only if you're a Mac user if you're a Windows user.
You can not and I repeat you can not.
It is impossible at least until today.
You cannot run a now U.S. simulator.
So if you really want to build applications for your phones you need to buy a Mac.
Sorry for that I'm not a big fan of Mac.
I still have my windows and I regularly use it.
But yeah to do this you just need a Mac.
Spend a lot of money buying this magazine.
Do you like it.
But you know it's working with Mac it's a little bit easier when you're when you're a developer.
OK.
So we are pretty much done with this on the next one begin to run the simulations and I'm not going
to use this project began to start a new project not with Expo.
We are not going to start with export all use the react native commands directly.
So let's go to the next section and I'm gonna do Android first because if your Mac Windows user you
can enter that and then I'm going to do the IRS which is only for Mac users.
Let's go to the next one and started with this.