Misinfo App new Expo framework app.
To use Expo, you need to have the following tools installed on your machine:
-
Node.js LTS release - Only Node.js LTS releases (even-numbered) are recommended.
-
Git for source control.
-
Watchman (for Linux or macOS users).
When you run npx expo start
in your project, Expo CLI starts a development server and generates a QR code. On Android, you can open the Expo Go app on your device and scan the QR code to connect to the dev server. On iOS, use the device's camera to scan the QR code.
npx expo start
When you run the above command, the Expo CLI starts Metro Bundler. This bundler is an HTTP server that compiles the JavaScript code of your app using Babel and serves it to the Expo app. See how Expo Development Server works for more information about this process.
Open the Expo Go app after it has finished installing. If you have created an account with Expo CLI, you can sign in by clicking the Log In button in the top header on the Home tab. Signing in will make it easier for you to open projects in the Expo Go app while developing them — they will appear automatically under the Projects section on the Home tab of the app.
To open the app your device that has Expo Go already installed:
On your Android device, press Scan QR Code on the Home tab of the Expo Go app and scan the QR code you see in the terminal. On your iPhone or iPad, open the default Apple Camera app and scan the QR code you see in the terminal.
Links: