You can do it by ejecting your app running npm run eject

Then, if you have any reference to expo just remove all of them.

your app modules before being ejected looks like this below:

When you run npm run eject it will ask some questions like:

be sure to select React Native: I'd like a regular react Native project

And your folders will now look like this (no expo):

Just be careful because ejecting is a permanent process, you should make a backup of your files.

Answer from Yanci Nerio on Stack Overflow
🌐
Medium
medium.com › @onurcelik.dev › how-to-remove-expo-from-a-react-native-project-ba19a1621ff4
How to remove Expo from a React Native project | by Mustafa Onur Çelik | Medium
January 5, 2023 - How to remove Expo from a React Native project To remove Expo from a React Native project, you will need to “eject” the project from the Expo managed workflow. This process will create a new …
🌐
Reddit
reddit.com › r/reactnative › how to get rid of expo? all info i found seems to be out of date
r/reactnative on Reddit: How to get rid of Expo? All info I found seems to be out of date
April 6, 2023 -

I made a big mistake - I wanted to view my app on a device, and was having trouble with X-Code refusing to recognise my developer credentials. They were fine on the website, but X-Code didn't want a bar of it. So I got frustrated, and someone suggested "Why not use Expo? Then you can just scan a QR code". Oh boy, should have done more research than a quick read of the Expo website before going along with that one! It took 10 minutes after I'd installed Expo to realise I really don't want this.

How do you get rid of Expo from a project that was generated by RN CLI and was half completed before I installed Expo? I haven't done anything I need to keep since installing Expo, so I tried doing a hard reset from the remote git repo I was using (which I had committed to last BEFORE trying Expo), but that didn't work, for reasons I am still trying to work out.

expo eject and npm run eject are both no longer supported, it seems.

🌐
Pagepro
pagepro.co › home › blog › how to quit expo app completely from ios and android?
How to Quit Expo App Completely From iOS and Android? - Pagepro
September 20, 2024 - In this tutorial I will show you how to quit the Expo app totally and have a plain Vanilla React Native app.
🌐
GitHub
github.com › react-community › create-react-native-app › issues › 166
How to completely remove Expo from the projects? · Issue #166 ...
April 17, 2017 - expo / create-react-native-app Public · Notifications · You must be signed in to change notification settings · Fork 1.4k · Star 13.3k · New issueCopy link · New issueCopy link · Closed · Closed · How to completely remove Expo from the projects?#166 ·
Published   Apr 17, 2017
🌐
Medium
medium.com › reactbrasil › being-free-from-expo-in-react-native-apps-310034a3729
Being free from “expo” in React Native apps | by Francis Batista | React Brasil | Medium
December 3, 2019 - You need to do some adjustments in your project, and that’s what I’ll show you below. First, you’ll start with the package.jsonfile. You need to remove any reference of expo of your packages.
🌐
GitHub
github.com › akveo › kittenTricks › issues › 59
how to remove Expo · Issue #59 · akveo/kittenTricks
March 29, 2018 - how to remove Expo Expo is extremely slow.
Published   Mar 29, 2018
🌐
Lightrun
lightrun.com › answers › wcandillon-react-native-expo-image-cache-remove-expo-dependency
Remove expo dependency
How to remove unwanted expo modules - react native · To remove a package from your node_modules directory, on the command line, use the uninstall command.
Find elsewhere
🌐
Super User
superuser.com › questions › 1674312 › i-want-to-delete-my-react-native-app-i-made-using-expo-but-its-telling-me-the-f
windows - I want to delete my React Native app I made using expo, but its telling me the folder is being used in another program - Super User
One way that does work, however, is booting windows into safe mode and then deleting the folder that way. But I don't want to have to do that every time I want to delete a folder from React Native.
🌐
Marcandreuf
marcandreuf.com › blog › 2024-08-06-remove-expo-router
Remove Expo Router from Expo App - Marc Andreu
Removing the Expo Router plugin and its associated configurations · Implementing React Navigation to replace Expo Router
🌐
DEV Community
dev.to › farazpatankar › ejecting-from-expo-3638
Ejecting from Expo - DEV Community
April 29, 2020 - After a week-ish of testing the app, I decided it was time to eject from the managed workflow on Expo... Tagged with reactnative, tutorial, android, javascript.
🌐
Java-samples
java-samples.com › showtutorial.php
Remove all installed dependencies and install them again
By: Gren in React-Native Tutorials on 2023-04-06 · To remove all installed packages and reinstall them in an Expo project, you can follow these steps: Delete the node_modules folder from the root directory of your project. Delete the package-lock.json file from the root directory of your project.
🌐
Reddit
reddit.com › r/reactnative › how to get rid of expo router ?
r/reactnative on Reddit: How to get rid of expo router ?
November 16, 2024 -

New to RN and learning but I want to incorporate React Navigation instead of expo-router. I know that expo's is using React Navigation underneath. I removed it with npm, found whatever references to it and removed them as well, all with no luck. Created a new project using the Expo blank option but still getting an error 'expo-router/_ctx not found'

I cleared cache, removed node_modules, lock file, etc and reinstalled but not resolved. I think I'd prefer to have run the default config but thought going with 'blank' I would avoid the router.

🌐
GitHub
github.com › expo › router › discussions › 343
Remove @react-navigation packages from your package.json · expo/router · Discussion #343
yarn remove @react-navigation/bottom-tabs @react-navigation/drawer @react-navigation/material-bottom-tabs @react-navigation/material-top-tabs @react-navigation/native-stack @react-navigation/stack
Author   expo
🌐
Expo Documentation
docs.expo.dev › guides › tree-shaking
Tree shaking and code removal - Expo Documentation
Expo CLI employs a process known as platform shaking for app bundling, where it creates separate bundles for each platform (Android, iOS, web). It ensures that the code is only used on one platform and is removed from other platforms. Any code that is used conditionally based on the Platform module from react-native is removed from the other platforms.
🌐
Stack Overflow
stackoverflow.com › questions › 55744839 › how-can-i-delete-all-builds-expo-io
react native - How can I delete all builds expo.io? - Stack Overflow
"expo build:android -c" is a command you run in your terminal. It doesn't delete builds, it clear your credentials for that app and creates new ones. I suggest you look through the Expo documentation- docs.expo.io/versions/v32.0.0/distribution/… ...