This is an Expo project created with create-expo-app. It uses react-native-bottom-tabs to render a real native tab bar.
-
Install dependencies
npm install
-
Build and run the app
npm run android # or npm run iosThis creates a development build, installs it on an Android emulator or iOS simulator, and starts the dev server. Once the app is installed,
npm startis enough on its own.
Note: This project requires a development build. It cannot run in Expo Go, which only bundles Expo's own native modules - and the native tab bar is not one of them.
Before you build for a real device or a store, change ios.bundleIdentifier and android.package in app.json from com.example.nativetabs to your own identifiers.
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-projectThis 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:
- React Native Bottom Tabs documentation: Configure the native tab bar used in app/(tabs)/_layout.tsx.
- 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.