Search code examples
androidiosreact-nativesplash-screen

Unable to see Android/iOS Folder in react native project


I am beginner in react-native , i am following the official website to create React-Native project .

create-react-native-app AwesomeProject

cd AwesomeProject
npm start

This is creating the the project structure like this :

enter image description here

But i want to add Splash in ios and android , and i am looking at tutorials all add the splash in the native code , why android and ios folder in not created in My React Native project .

enter image description here


Solution

  • Running following commands should do the trick:

    sudo rm -rf android/ ios/ #Delete Android and ios folders first...
    react-native eject
    react-native upgrade //rebuilds android/ios folders
    react-native link
    react-native run-android
    react-native run-ios