My company gave me the source code for their mobile app written in react-native. It can be clearly seen that it was created using react-native cli. The "ios" folder exists there, but "android" folder is not included. I think previous developers deleted it at some point. I cannot run it on ios simulator because I don't have mac and I don't have iphone to use it with Vysor.
What should I do?
CodePudding user response:
Eject and then link
react-native eject
react-native link
CodePudding user response:
Can you try running:
npx react-native init YourProjectName
If you are running an old version of react-native you can try this one:
npm i react-native-eject
npm i @react-native-community/cli
react-native eject