Mizlul
Mizlul

Reputation: 2280

how to regenerate the iOS and Android folders in react native

I have removed both android and iOS folders after I detached, is there any way that I can bring back both android and iOS folders?

My app is detached from expo, is there a way that I can regenerate those two folders without having to upgrade the app.

Upvotes: 0

Views: 1373

Answers (1)

emma93
emma93

Reputation: 187

I would recommend you to start with a new project without expo and copy all components (react-native init AwesomeProject). After I detached my project from expo I still had a lot of problems caused by expo. Especially the gradle config in android was a mess because of different versions (react-native-svg for example, which is standard in expo, but outdated).

And after starting new the project size decreased around 12MB... Starting new took me around 2 hours, messing around with expo days...

Did you use some dependencies from expo in your project?

Upvotes: 3

Related Questions