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.

Expo lets web developers build truly native and Web applications that work across iOS, Android and Web by writing them once in just JavaScript. It's an open source, free toolchain built on top of React Native.

Resources

14725 questions
3
votes
1 answer

Couldn't start project on Android: Error running adb: Exception occurred while executing 'list':

I've recently upgraded my phone to android 13,now i'm trying to run a very simple react native project via expo go,but i getting these errors.I've updated expo go ,but it didn't work. Opening exp://127.0.0.1:19000 on SM_A528B Couldn't start project…
amir
  • 31
  • 3
3
votes
1 answer

Error: "ios.bundleIdentifier" is not defined in your app.config.js and we can't update this file programmatically. Add the value

I am trying to deploy a React Native App using eas build. The app builds successfully on Android but not on IOS. I see this error message which says ios.bundleIdentifier is not defined in app.config.js But... it IS defined, as can be seen here: …
Julius Goddard
  • 249
  • 1
  • 3
  • 15
3
votes
0 answers

react-native trpc always loading

I have tried using trpc with the fastify integration, and it works fine. However, when I tried using it in my react-native app, it does not work (it already worked with next.js) It only displays loading as a status. const getBaseUrl = () => { …
3
votes
2 answers

Unable to resolve module 'module://@babel/runtime/helpers/interopRequireDefault.js' - EXPO SNACK

I am getting the error 'Unable to resolve module 'module://@babel/runtime/helpers/interopRequireDefault.js' when I try to run the following code in Expo Snack Below is my code for HomeScreen.js import { StyleSheet, Text, View, FlatList } from…
Naveen DINUSHKA
  • 1,497
  • 3
  • 19
  • 37
3
votes
2 answers

Key "uri" in the image picker result is deprecated and will be removed in SDK 48, you can access selected assets through the "assets" array instead

I am working on an Image picker on react native. Im getting a warning ... Key "uri" in the image picker result is deprecated and will be removed in SDK 48, you can access selected assets through the "assets" array instead. I am getting on both…
3
votes
0 answers

Problem after update expo sdk 44 -> 47: Java.lang.double cannot be cast to abi47*___0_0.com.facebook.react.vbridge.ReadableMap*

I needed to update the expo sdk version (due to the minimum version of ios to bundle with apple) And when updating from version 44 to 47, I got the following error when run the app (expo start): Java.lang.double cannot be cast to…
3
votes
1 answer

Error npm exited with non-zero code: 1 expo React Native

I'm doing a CRUD on firebase, I'm using expo for react native. I run the command: eas build -p android --profile preview, and in the Prebuild part it gives me the error: npm exited with non-zero code: 1 so I made more errors. These are all the…
3
votes
1 answer

Warning: React has detected a change in the order of Hooks

I have run into this error in my code, and don't really know how to solve it, can anyone help me? I get the following error message: ERROR Warning: React has detected a change in the order of Hooks called by ScreenA. This will lead to bugs and…
3
votes
1 answer

Why does my Expo app run in Expo Go but not as a development build?

I've created a development build of an Expo app using EAS. Previously I would open the app in Expo Go by running npx expo start and scanning the Metro Bundler QR code. Now, when I try to do the same thing, Expo Go asks whether I want to open the…
jpryor
  • 31
  • 1
  • 3
3
votes
1 answer

Update Expo SDK from 44 to 45, 46 or 47 not working

I tryed several times to update the SDK Version in my project from 44 to 45,46 and 47. Each time I try to update I receive the following issue: Installed expo@^46.0.0 ✔ Validated configuration. ✔ No additional changes necessary to app.json config. ✔…
sinan_u
  • 59
  • 2
  • 8
3
votes
2 answers

react-native java.security.cert.CertPathValidatorException: Trust anchor for certification path not found

My React Native mobile application suddenly cannot connect with the backend. (only android version, iOS works without any problem). Also I can request the API without problem by using the browser. This just suddenly happened, when the problem start…
3
votes
1 answer

Expo go app crashing on iPhone with ios16 when uploading images to Firebase storage

Has anyone experienced Expo go app for react native crashing when trying to upload image to Firebase store? This issue started when I updated my iPhone to ios16. I can say the issue is with ios16 because on another iPhone and ipad with ios15.7 there…
Oao
  • 121
  • 7
3
votes
0 answers

Android build failed: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information

this is what the ide showing on building - Android build failed: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information., and when opening in expo, the below error message was found. can anybody plaese…
akhil
  • 83
  • 7
3
votes
2 answers

Sharing state for background task in react native

I am writing an app with Expo that uses expo-location to track the location of a user in the background. I would like to use hooks (states, useEffect...) when my app is in the background. At the moment the background tracking code looks like…
Robin Nicole
  • 646
  • 4
  • 17
3
votes
4 answers

'ExponentImagePicker.launchCameraAsync' has been rejected

On a specific device (Samsung Galaxy S9 with Android 9), when I try to open the camera through ExponentImagePicker, I get the following error: Error: Call to function 'ExponentImagePicker.launchCameraAsync' has been rejected. Caused by:…
Simen Russnes
  • 2,002
  • 2
  • 26
  • 56
1 2 3
99
100