Home > Enterprise >  React native, recreate ios and android folders
React native, recreate ios and android folders

Time:09-27

Couple of days ago I upgraded react-native project and also changed a lot of settings in my android and ios folders. After that it stopped to work properly and I deleted it. Now, I want to regenerate ios & android folder and make it work with my existing code. The question is: how can I do that?

Thanks!

CodePudding user response:

As mentioned in the comments, If you are using Expo as your development tool for react native, you can always reset the android and ios folders by running:

expo eject

from the command line when ever you need, just notice it will override changes made directly on these folders, so eject cerfully.

  • Related