Eject Your React Native Application
If you created your React Native application with one of the commands in the following table, you must eject the application:
Command | Why Ejection Is Needed |
---|---|
create-react-native-app |
This command lets you quickly set up and run a Native React application with no configuration. However, it does not provide the whole development environment required by the React Native Agent. |
expo init |
Currently, the React Native Agent module does not support Expo projects. |
If you created your app with create-react-native-app, use npm to eject the app. If you used expo, run the expo command below to eject the app.
From your project directory, run the command appropriate for your use case:
- npm
-
npm run eject
- expo
-
expo eject