This will start a development server for you. Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer. On Android, use the Expo app to scan the QR code from your terminal to open your project. On iOS, use the built-in QR code scanner of the Camera app. Now that you have successfully run the app, let's modify it. Open App.js in your text editor of choice and edit some lines. The application should reload automatically once you save your changes. That's it!Ĭongratulations! You've successfully run and modified your first React Native app. IntelliJ IDEA also provides code completion for React and Flow symbols. Now what?Įxpo also has docs you can reference if you have questions specific to the tool. IntelliJ IDEA helps you create, edit, lint, run, debug, and maintain your React Native applications. You can also ask for help at Expo forums. in the Expo issues (for issues about the Expo client or SDK).in the Expo CLI issues (for issues related to Expo CLI), or.If you have a problem with Expo, before creating a new issue, please see if there's an existing issue about it: These tools help you get started quickly, but before committing to building your app with Expo CLI, read about the limitations. If you're curious to learn more about React Native, check out the Introduction to React Native. Running your app on a simulator or virtual deviceĮxpo CLI allows you to run your React Native app on a physical device without setting up a development environment. If you want to run your app on the iOS Simulator or an Android Virtual Device, please refer to the instructions for "React Native CLI Quickstart" to learn how to install Xcode or set up your Android development environment. Once you've set these up, you can launch your app on an Android Virtual Device by running npm run android, or on the iOS Simulator by running npm run ios (macOS only).
0 Comments
Leave a Reply. |