Edited for use in IDX on 07/09/12
This is an Expo project created with create-expo-app
.
Android previews are defined as a workspace.onStart
hook and started as a vscode task when the workspace is opened/started.
Note, if you can't find the task, either:
- Rebuild the environment (using command palette:
IDX: Rebuild Environment
), or - Run
npm run android -- --tunnel
command manually run android and see the output in your terminal. The device should pick up this new command and switch to start displaying the output from it.
In the output of this command/task, you'll find options to open the app in a
- development build
- Android emulator
- Expo Go, a limited sandbox for trying out app development with Expo
You'll also find options to open the app's developer menu, reload the app, and more.
Web previews will be started and managred automatically. Use the toolbar to manually refresh.
You can start developing by editing the files inside the app directory. This project uses file-based routing.
When you're ready, run:
npm run reset-project
This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
Join our community of developers creating universal apps.
- Expo on GitHub: View our open source platform and contribute.
- Discord community: Chat with Expo users and ask questions.