Skip to main content

Questions tagged [expo]

Expo is an open-source and free platform that lets web developers build truly native apps that work across both iOS and Android by writing them once in just JavaScript. Use the Expo tag on questions about developing Expo projects and using the Expo development tools like XDE and exp.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Failed to build Realm in React Native Expo

when I run yarn install, I get the error ➤ YN0007: │ realm@npm:12.11.1 [22b34] must be built because it never has been before or the last one failed every time... could anyone help? I want this to be ...
-1 votes
0 answers
11 views

npm install failed in expo react native project on MacOs M1

I was trying to install a package in expo React Native project without success. I then tried running npm install and expo upgrade. Unfortunately, npm install failed with following error message: npm ...
0 votes
0 answers
10 views

Set full background color bottom tabs in android , I write app using React native expo

Help me, I want backgroupcolor full bottom tabs in React Native expo, I run it device android I want to fully adjust the color of the tab below. It's currently missing color at the bottom, you see it ...
0 votes
1 answer
140 views

Execution failed for task ':expo-modules-core:configureCMakeDebug[arm64-v8a]'. > [CXX1210]

Execution failed for task ':expo-modules-core:configureCMakeDebug[arm64-v8a]'. [CXX1210] C:\Users\Uttam.Mehta\Desktop\ReactNative\HOJAFIT\node_modules\expo-modules-core\android\CMakeLists.txt debug|...
1 vote
3 answers
2k views

How to reset navigation in expo router

I have 3 screens for forgot password. Forgot password screen starts from login page. So after successfully resetting the password I need user to go to login page. But still the user can go back to the ...
0 votes
1 answer
19 views

Request on a local server with Expo App is failing

i'm having a little truble here I created a Flask server running on my personal computer at IP 192.168.1.3:5000, and by itself, it works very well. I tested the requests using Insomnia and through the ...
0 votes
0 answers
602 views

How to fix double Splash Screen on android 12 + for managed (!) expo app?

Ive been reading through all kidns of post regarding this and the only few solutions or temp. fixes Ive seen were for bare expo apps. Is there any solution for a managed expo app?
0 votes
0 answers
14 views

How do I fix Cannot find module 'babel-preset-metro-react-native-babel-preset' error whenever I run npx expo start?

Every time I run npx expo start, I get this error and am unable to load my app: error: node_modules/expo-router/entry.js: Cannot find module 'babel-preset-metro-react-native-babel-preset' Require ...
-1 votes
1 answer
122 views

Invalid `Podfile` file: unknown keyword: :privacy_file_aggregation_enabled

I'm building a react-native app with expo and have a whole generated ios folder with the Podfile. When trying to run pod install, I get the error [!] Invalid Podfile file: unknown keyword: :...
0 votes
0 answers
18 views

Render Error View config getter callback for component RCTModalHostView must be a function (received 'undefined')

I am working on a mobile application in React native (using Expo [SDK :~51.0.18]) Note : I am using Expo router to handle all routing in my project. I am attempting to integrate this new SDK (Lean ...
0 votes
0 answers
8 views

Receiving "TypeError: setUser Is Not A Function, (It Is Undefined), But Its Listed As A Const

There's no other details after that message,but when I attempt to login/register, I'm seeing the "console.log" pop up successfully. Firebase is also receiving the info as well Here is my ...
0 votes
0 answers
45 views

Trying to update email but the code is not updating

I'm trying to update email using firebase with react native but the code is not working as it is expected const [newEmail, setNewEmail] = React.useState(""); const ChangeEmail = () => { ...
0 votes
0 answers
8 views

Expo EAS Build Error: Redefinition of module ‘ReactCommon’ during iOS Build

I'm having a problem building my project after recently upgrading to the new Expo version. When I run the : eas build --platform iOS I get an error in Fastlane. Here is the content of the error below....
0 votes
0 answers
103 views

Unable to Build Expo in Vanilla React Native iOS Project Due to Unsupported Swift Version in Xcode 15.4

I'm trying to configure a bare React Native project with Expo for EAS. Here's what I've done so far: Installed the Expo modules using npx install-expo-modules@latest. Ran pod install. Attempted to ...
1 vote
2 answers
235 views

RNGoogleSignin not found - expo supabase auth

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGoogleSignin' could not be found. I dont know why i this error is coming i have installed the package properly in expo app i want to ...
0 votes
1 answer
10 views

Include a font asset in the html sent to Expo Print (React Native)

I'm needing to print a barcode in a Expo (React Native) App. I've tried to require the tff file (see below), but this does not work for me. If I use the same methodology to include an image, however, ...
0 votes
2 answers
2k views

How to convert a react native image uri into binary file

I am using expo-image-picker to pick image from a device but it is returning image uri. I want to send that image as a binary file to my api. Image uri is not working for me in the backend. Can anyone ...
12 votes
5 answers
13k views

How to fix react-native error after updating expo to 50.0

When I run npm run ios in terminal, I get the below error error: node_modules/expo-router/entry.js: [BABEL]: expo-router/babel is deprecated in favor of babel-preset-expo in SDK 50 I tried to ...
0 votes
0 answers
23 views

I can't seem to make http requests to my server in React Native Expo app

Something that I honestly can't explain is wrong somewhere and I would appreciate any help. I can't seem to make http requests to my server. I have an express.js/node.js backend server that is running ...
108 votes
17 answers
57k views

Xcode 15: Unable to boot the Simulator

I was able to run iOS simulator fine with Xcode 14 and my Mac recently updated the latest version of Xcode which is 15 then I'm no longer able to boot a device from its new simulator. I did try many ...
2 votes
1 answer
233 views

@expo/vector-icons not showing on the app hosted as web project in firebase

I have an React Native code which I wanted to host on Firebase as a Web app. I've achieved this using the Expo for web. When I deployed the code to Firebase getting console and network error and the ...
0 votes
0 answers
180 views

React Native WebRTC Remote Stream is black

React Native Webrtc remote stream is black during Video Call. It's getting both audio/video from remote candidate but it just won't display. {"_id": "28967b2b-d555-4438-a8e8-...
0 votes
0 answers
9 views

Expo Samsung Android 12 release build data fetch does not send requests [closed]

I'm developing with Expo. I manage my login and OTP screens with Context. I want to retrieve data by sending a post request to the token I received from the context with a tanstack query. It works on ...
0 votes
2 answers
186 views

'eas build -p android' gives error AAPT: error: resource color/splashscreen_background (aka com.xxxxx.xxxxx:color/splashscreen_background) not found

I am using react native and try to create an apk file with "eas build -p android --profile preview --clear-cache" On https://expo.dev/ I see the following gradle build error. `> Task :app:...
0 votes
0 answers
10 views

Google admob Rewarded ads not working properly, It's showing only one time

In my app, rewarded ads only display once. When I return to the main menu or navigate to other pages and then go back to the rewarded ads page, the ads do not show again. I have to close the app and ...
1 vote
0 answers
19 views

Facing issues using CameraView imported from expo-camera to set up a QR Code Scanner for a react-native expo project

I have been trying to code for a QR Code Scanner for my React Native project (using typescript). I have followed the latest documentation for expo-camera, and even though my phone prompts for ...
0 votes
0 answers
30 views

Running my Pixi.js project in a react Native screen using expo go

I can't get my game to load within my app screen. As far as I can see its been bundled correctly and works in a browser using LiveServer but when I try to get it to load on the native app screen I ...
1 vote
0 answers
18 views

React Native Expo background not covering iPhone notch

I am using React Native with Expo, and I am currently testing out gradients and trying to set the background color. I came across this bug where the notch of the device I am using (iPhone 13) is not ...
0 votes
0 answers
10 views

How do I tie a custom lifecycle listener in expo native modules into my main module?

I've added a native view which requires me to ask the user for some permissions and I want to do this in the onCreate method. After reading over expos documentation I came across some boilerplate code ...
2 votes
4 answers
1k views

Error trying to decode a Token using jwt-decode

I am trying to establish communication between two projects. In one project, I have created an API called voll-api-nodejs, and the other project voll-mobile is the one consuming data from this API. In ...
0 votes
1 answer
28 views

React native AsyncStorage doesn't work in the apk made with expo

Im new working with expo, I developed an application that works as expected in expo go, however when I create the apk with eas build the application does not work correctly, when I open the app it ...
0 votes
0 answers
21 views

Replacement for Expo Face Detector?

I have a react native expo app that relied heavily on expo face detector. I have been notified by the google play store that apps need to target a new minimum API version and In my case Is the expo ...
0 votes
0 answers
10 views

Creating/Extracting/Separating Component Library From Main App

I use expo with development builds (expo-dev-client) in an app i'm working on. There are external libraries that use native code and this is not an issue as I use the dev builds. Now, I want to ...
0 votes
0 answers
8 views

Expo gitignore ios and android folders

My generated info.plist has some identifiers such Google Login client ID. While this isn't a "secret", I don't want to commit this to a public git repo. Given the entire ios and android ...
8 votes
2 answers
11k views

Prevent default back navigation when using expo-router

I'm currently using expo and expo-router for the first time and have a question about the default back navigation. What I mean by that is for example swiping from the left edge to the middle of the ...
0 votes
1 answer
15 views

How to generate expo ipa file for ios (like apk in android) using expo eas

How to generate expo IPA file for iOS and install it on my physical iPhone for testing purposes (like apk file in Android) using expo eas. What setting do I need to change in the below code for the ...
-3 votes
1 answer
44 views

Expo EAS Build / Metro Bundler cannot find AppEntry.js in a fresh macbook repo setup

I just changed laptop and moved setup all the tooling on the new Macbbok M1. I'm getting this error which I cannot find any similar cases for in the web. When bundling the metro bundler is complaining ...
0 votes
1 answer
22 views

React-native EXPO - APK EAS build app crashes on startup (probably) because of react-navigation

Right now I'm trying to export my app with eas as an apk, but it doesnt work. When I bundle with expo everything works fine but when I build, the app crashes on startup. I've been removing and ...
0 votes
0 answers
54 views
+50

React Native Expo Barcode Scanner Navigation

I'm new to react native and expo and I followed a tutorial online for a barcode scanning app using expo, but it didn't cover how to navigate away from the expo camera app to another screen and I can't ...
0 votes
0 answers
16 views

i experience this error when making build after installing react-native-mmkv

⚠️ Something went wrong running pod install in the ios directory. Command pod install failed. └─ Cause: Error installing MMKVCore [!] /usr/local/bin/git clone https://github.com/Tencent/MMKV.git /var/...
0 votes
0 answers
113 views

I have the same problem with expo 51.0.8. I tried this:

./gradlew assembleRelease Configure project :expo Using expo modules expo-asset (10.0.6) expo-constants (16.0.1) expo-file-system (17.0.1) expo-font (12.0.5) expo-keep-awake (13.0.2) expo-linear-...
0 votes
0 answers
12 views

AssertionError when running npx expo prebuild

I'm getting this error when I run npx expo prebuild. I've tried making multiple new projects, I'm usually given this error, and I've only ever gotten through the command once. That is, it happens even ...
1 vote
1 answer
35 views

Dynamic links in firebase and Email Link Auth

I'm trying to add email link authentication to my expo app with firebase, but it needs a dynamic link and in dynamic links page it says that it is deprecated and there is no get started option. How ...
0 votes
1 answer
39 views

Expo unable to resolve module expo-router

I'm new to React Native so I'm hoping this is a simple problem with a solution I've just overlooked, but I'm getting an error every time I start a new project. I fiddle with it for a bit, sometimes ...
-1 votes
1 answer
19 views

Expo Go Network Timeout SDK 51

Since I upgraded to expo sdk 51 (from sdk 50) expo go app is not loading the project on my physical device. The emulator works fine. It is showing a network timeout error. I am connected to the same ...
0 votes
1 answer
27 views

Reanimated scrollview contentOffset animation disables all gestures on IOS

Animating the contentOffset prop on a reanimated scrollview disables all gestures including touch events on IOS while the animation is running. The animation itself works fine and as soon as the ...
9 votes
4 answers
5k views

How do I fix the "failed to connect" error from Expo / react native?

When I run my expo/react-native project and want to run it on my android phone through the expo go app, it gives me a connection error: "Uncaught Error: java.net.SocketTimeoutException: failed to ...
0 votes
0 answers
16 views

Google authentication through cognito failing to redirect to application in react-native expo project using expo-auth-session library

I have set up google authentication through cognito in my react-native expo mobile application. Using the expo-auth-session library, I make a call to my cognito user pool, which redirects to accounts....
3 votes
3 answers
6k views

expo-auth-session/providers/google not working on standalone app: invalid_scheme

I hope that someone can help me with the following issue which I’ve been struggling with for a while. I am trying to use expo-auth-session/providers/google for Google Auth on Android in Expo SDK 39. I ...
0 votes
1 answer
76 views

Expo EAS build android APK crash on physical device (Expo 51)

I built eas build -p android --profile production(with Expo SDK 51, The build was successful without any problems). Then, I downloaded apk into physical device. When install and open it, the app ...

1
2 3 4 5
331