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 ...
seans's user avatar
  • 11
-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 ...
Bello Shehu's user avatar
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 ...
Hòa Nguyễn Coder's user avatar
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 ...
Olivia Zhang's user avatar
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 ...
0xD1x0n's user avatar
  • 733
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 ...
Jowens4954 's user avatar
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....
melvin debot's user avatar
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 = () => { ...
Omar Bakoban's user avatar
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 ...
valve's user avatar
  • 23
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 ...
Thiago David's user avatar
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 ...
Erdinç Akdoğan's user avatar
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 ...
Rainul Hassan's user avatar
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, ...
Jrhd437's user avatar
  • 29
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 ...
Tahrima Ihsan's user avatar
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 ...
KAT's user avatar
  • 213
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 ...
Luke Schaffel's user avatar
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 ...
Damilare Gabriel's user avatar
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 ...
DD.'s user avatar
  • 21.8k
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/...
Web_Dev_Ary's user avatar
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 ...
Rainul Hassan's user avatar
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 ...
garrett's user avatar
  • 33
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 ...
Daniel Salazar Rodriguez's user avatar
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 ...
garrett's user avatar
  • 33
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....
Tobi's user avatar
  • 3
0 votes
0 answers
19 views

How to solve React native expo App header or Android phone header color background issue

Why my react native expo cli app showing like this (Pic 1) when I install apk file from expo.dev. But when I use expo eas dev-client(expo go) then the app work perfectly(Pic 2).At the time of ...
Rainul Hassan's user avatar
0 votes
0 answers
9 views

Expo-Notifications giving firebase authentication error

I'm trying to implement push notifications using expo-notifications: async function registerForPushNotificationsAsync() { let token; if (Devices.isDevice) { const { status: existingStatus } = ...
Samarth Shetty's user avatar
0 votes
0 answers
7 views

ImagePicker.launchCameraAsync(), AssetId and fileName is Null

Im trying to upload a Image in backend using Appwrite. It requires attributes such as fileName,type,uri,fileSize. But when I capture the Image using camera using ImagePicker.launchCameraAsync() it ...
Nithish's user avatar
0 votes
1 answer
13 views

How to resolve "Bundle Version Must Be Higher" error when uploading React Native Expo app to Transporter?

I have a React Native app built with Expo that I want to publish to iOS TestFlight. I’ve successfully built a previous version and submitted it, which is visible in the Apple Developer portal. However,...
Andor Németh's user avatar
0 votes
0 answers
9 views

Populating Mixpanel "your properties"

I have an issue regarding the populating of "Your Properties", I cant populate my mixpanel with any ekstra properties, not even test data, what am I doing wrong ? Here is my component, the ...
Christoffer Palsgaard's user avatar
0 votes
0 answers
17 views

Changing theme using react-navigation/native ThemeProvider

I am using the react-navigation/native ThemeProvider for managing the theme in my react-native expo app. While setting the theme to the devices default worked out of the box, I am having trouble ...
N K's user avatar
  • 1
0 votes
0 answers
9 views

bluetooth thermal printing from expo react project is stuck with error

im working on a simple react-native project that will support bluetooth thermal printing. currently trying to configure januslo / react-native-bluetooth-escpos-printer but while gradlew ...
Bineesh Kumar's user avatar
0 votes
0 answers
16 views

How to Wrap FlatList rendered Items in a Fixed-Height Container in React Native?

I have a problem where I want to render a list of items using FlatList, but I expect a large number of items and want to wrap these items in a container with a fixed height. This is to save screen ...
Kalin Toshev's user avatar
0 votes
0 answers
10 views

Cannot Find Solution to this React Native Expo Gradle Error

Task :app:compileReleaseKotlin FAILED e: file:///C:/Users/Saad/Storeapp/android/app/src/main/java/com/sio/Storeapp/MainActivity.kt:2:25 Unresolved reference: R e: file:///C:/Users/Saad/Storeapp/...
Ogasia Game's user avatar
-2 votes
0 answers
40 views

please can someone help me iout with this please

i having been having this error with expo lately this is the error message i keep on receiving ERROR Invariant Violation: Your JavaScript code tried to access a native module that doesn't exist. d If ...
hyzeal achungha's user avatar
0 votes
0 answers
30 views

expo-router/_ctx.ios.js:Invalid call at line 2: process.env.EXPO_ROUTER_APP_ROOT

I'm trying to test create-expo-app@latest but it doesn't work when do npx expo start with following error. iOS Bundling failed 4326ms node_modules/expo-router/entry.js (929 modules) error: ...
newbeeep's user avatar
  • 595
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 ...
Ciremal's user avatar
  • 11
0 votes
1 answer
47 views

Unable to Register New Users in Firebase with Expo

I'm running into an issue with my Firebase project using Expo. When I try to register a new user, the system doesn't allow me to create a partition in the database with data beyond the user's email ...
Pedro Henrique Vieira Barreto's user avatar
0 votes
0 answers
20 views

Running `npm install expo-dev-client` makes it so that the development server no longer works?

I created a Blank Typescript template and ran npx expo start --tunnel, selected the development server from my Expo app on my phone. No issues. However, after running npm install expo-dev-client and ...
Jon's user avatar
  • 27
0 votes
1 answer
18 views

I can´t create an Accordion with Scrollview child, this doesn´t scroll

Could someone help me, I want to make an accordion and within each of the options it will contain a ScrollView with several options. I tried to do it with the example in the documentation and it didn'...
GabVlado's user avatar
-1 votes
0 answers
16 views

npx expo start and expo start no longer works on my project and even on my pc

only npm start starts my expo project. npx expo start doesnt start my project anymore and expo start gives the error: ExpoMetroConfig.loadAsync is not a function TypeError: ExpoMetroConfig.loadAsync ...
chukwuma kelechi's user avatar
-1 votes
0 answers
23 views

Unable to build an Expo Go project in React Native for iOS after upgrading to Expo 51

I'm having a problem building my React Native project on Expo Go after upgrading to Expo 51. The build for Android goes smoothly, but on iOS, I get the following error: Build failed: The "Run ...
melvin debot's user avatar
0 votes
0 answers
12 views

How to handle picture editing in react native (expo)?

How do i go about creating an image editor in Expo? What libraries can i use to simplify this? The image has to be exportable as a file so i can send it to the backend. It should be able to crop ...
Jan Czerwiński's user avatar
0 votes
0 answers
20 views

Error Unmatched Route Error in Expo Router

I am encountering an "Unmatched Route" error when using Expo Router in my application. Below is the structure of my project: Folder Structure: app/ _layout.tsx (auth)/ _layout.tsx ...
Collaxd's user avatar
  • 517
0 votes
0 answers
12 views

Unable to Share Deep Links in Expo App via Email

I am trying to implement deep linking in my Expo app to share links via email. I have configured the scheme in app.json and set up the necessary prefixes and screen paths in my navigation container ...
Sumit Sharma's user avatar
0 votes
0 answers
17 views

How to make two audio players make perfectly synchronized?

I'm building a music app where I need to play chord sounds synchronously with a background track. The problem is that the background sound starts playing about 70ms earlier than the chord sound for ...
FixMix Games's user avatar
0 votes
0 answers
10 views

How to set center tab as Initial tab in expo router

I tried setting the center tab as the initial tab but its not working. Also pressing back button from center screen takes to the left most tab and then it exits. How to fix this behaviour. <Tabs ...
Vinit P. Jain's user avatar
0 votes
0 answers
25 views

Twilio voice call not working in expo react native (IOS)

I have integrated Twilio video call functionality in an expo application in react native. But when trying to integrate the voice it's not working. I have created the voice token from backend and ...
abhishek p s's user avatar
0 votes
0 answers
42 views

getInfoAsync not working as expected - expo-file-system

I'm using expo v51 react-native, expo-file-system package. So, I want to get the information from files recursively inside a given directory, to get all the paths of files inside it and return: const ...
Pedro Vidal's user avatar
-1 votes
0 answers
37 views

How to fix error `SyntaxError: Unexpected token '='` in React-native expo

I have node.js of version 18.18.0 on machine before and my react-native app was working just fine. But I recently installed lower version of node.js 14.0.0 using nvm and When I start my expo react-...
Ay_tech's user avatar
-1 votes
0 answers
14 views

Image manipulation in expo react native

I want to add a small image upon a cameraView image in react native expo.much like this can anyone help? (https://i.sstatic.net/Dd5Hdre4.jpg) I have tried Expo-Camera , What library should I use , can ...
Partha Mandal's user avatar

1
2 3 4 5
331