I am working with react native and every time I build a new project it seems to work on my device , but whenever I try to restart it It is giving me 1 or more errors
<Clean project working for me
A react-native Project is about one XCode Project and one Android Project. (pure js code no need to do clean)
So what are you need would be
Clean XCode Project with
$ cd ios
$ xcodebuild clean
$ cd .. && react-native run-ios
And then clean Android Project with
$ cd android
$ ./gradlew clean
$ cd .. && react-native run-android
You can simply write a batch file for it.