You can use:
react-native init projectName
Answer from Vikram Biwal on Stack OverflowJust wondering if there is a template for starting a new React Native app with web, iOS and Android support that doesn't use Expo?
The documentation for React Native Web is not good and every guide I've tried for this breaks at some point or another. It seems as soon as I get web support working iOS and Android break.
Any help would be great.
You can use:
react-native init projectName
Official documentation indicates different steps: https://github.com/react-community/create-react-native-app#create-react-native-app
if you don't want to use Expo, just follow the eject steps: https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md. Optionally you can reate
or you can create a react native app by yourself without using the create-react-native-app script. More details here, https://facebook.github.io/react-native/docs/getting-started.html#creating-a-new-application
I'm coding an application for my senior design project. I started with expo for easier testing, universal compatibility (iOS and Android) and what not. However, I want to move away from expo and use react native cli instead because expo does not have support for many react native GitHub repositories that I Want to add such as document scanner, etc. How do you guys test your application before publishing? do you use android/iOS emulators? I heard you needed a mac in order to get an iOS emulator running, does that mean my react native code would not be able to work on iOS.
I apologize for the number of (silly) questions. I'm just starting out and would appreciate all the help I can get.
No, React Native can be tested only in mobile simulators like IOS and Android
Update: Facebook has given a beautiful starter pack for React Native.
Introducing Create React Native App
Using this, you can run the app in your mobile using expo app(https://expo.io). It syncs using QR code.
Yes! That's very much possible with react-native-web. Here are a couple of related, useful resources to get started:
- React Native Web Starter
- A guide to combine React and ReactNative into one codebase
Try running your app with the yarn command, otherwise run npm-doctor to make sure all your packages are updated and fixed.
otherwise try installing dependencies for expo using :
npm install -g yarn
yarn add global react-native
yarn add global react-native-cli
react-native init sample
here's a quick link to the npm-doctor documentation:
- https://docs.npmjs.com/cli-commands/doctor.html
Also here's some tutorial on running react-native app using yarn command:
- How do I create a React Native project using Yarn?
I find this solution .. i just replace 6.2 with 6.3
in android/gradle/ gradle-wrapper.properties
distributionUrl=https://services.gradle.org/distributions/gradle-6.3-all.zip
Hey there everyone
I know this sounds strange but is it possible to run a mobile application within a website by any means without using react native web
I’m currently sitting with a mobile frontend of an app that I’m looking to showcase through a website without needing to configure it to work on
Any guidance on a third party or method I could use?