A simple CLI tool to start your React Native Web project to develop same app for IOS Android and Web
# Run create-react-native-web-app <project-directory>
$ npx create-react-native-web-app myApp
# if you previously installed this package globaly run this command first to uninstall the previous version:
# npm uninstall -g create-react-native-web-app
# cd into your <project-directory>
$ cd myApp
# Run Web/Ios/Android development
# Web
$ npm run web
# IOS (simulator)
$ npm run ios
# Android (connected device)
$ npm run android
- To work with IOS and Android - Install Xcode and Android studio and follow the react native instructions under the "Building Projects with Native Code" tab
myApp
├── android (When opening with Android studio, open this folder)
│ └── android project files
├── ios (When opening with Xcode, open this folder)
│ └── ios project files
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
└── src
└── project code