DEV Community

Cover image for Migrate Expo Project to React Native CLI
Vishal Singh
Vishal Singh

Posted on

Migrate Expo Project to React Native CLI

Hi everyone , I hope everyone is doing good.
So generally when developers start learning React native, they choose Expo over RN CLI which is good but Expo has some limitations. Please use this link to know more about that https://docs.expo.dev/introduction/why-not-expo/ .

Here we learn how to convert our Expo project to RN CLI.

It's time to eject

Basically, for migration we use EJECT methodology to convert our Project to RN CLI.

We use expo eject command in terminal of our project directory.

After that it's asking about packages name for android and iOS identifier for iOS.

IMPORTANT!

Use the correct package name and iOS identifier as same as mention in your project.

After successfully completion, we get two new folder in our project.

  1. android - contains files which are responsible for native android development
  2. ios - contains files for which are responsible for native iOS development.

After that, you can configure App icon and Splash screen image in each environment i.e android and iOS.

And here we go, we successfully migrate our app from expo to RN CLI.

Happy Coding!

Top comments (0)