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
21
votes
4 answers

expo is out of date uninstall and run again to upgrade

when running my app on ios simulator, I am getting the following error This version of the Expo app is out of date. Uninstall the app and run again to upgrade. Here is how I tried to upgrade expo-cli yet not successful npm update -g yarn add global…
user10398929
20
votes
1 answer

expo for ios - 'Unable to determine runtime bundle when booting device

Trying to start an expo project on a Macbook (Mid-2012) and the following error occured: *** Assertion failure in -SimDevice _onBootstrapQueue_bootWithOptions:error:, SimDevice.m:2057 2021-12-25 21:21:29.751 simctl[3424:48740] *** Terminating app…
John Fisher
  • 243
  • 3
  • 10
20
votes
9 answers

How can i connect my phone to expo when using WSL2 to run it

Whenever i try to run expo start or npm start the IP for it is not my LAN IP but my WSL2 eth0 IP and this will cause my phone not connecting to the expo . i have already tried to set REACT_NATIVE_PACKAGER_HOSTNAME with export command and it will…
20
votes
6 answers

React Native - Expo: fontFamily 'SimpleLineIcons' is not a system font and has not been loaded through Font.loadAsync

So I get this error on Android device/emulator: On iOS on the other hand, it's compiling just fine and the simple-line-icons are displayed properly. I'm running the latest version of expo. My package.json: { "name": "FamScore3", "version":…
KentAgent
  • 413
  • 1
  • 4
  • 14
20
votes
12 answers

Where to Set EXPO_DEBUG value in ReactNative app?

When I try to login in expo I got this error : [exp] Set EXPO_DEBUG=true in your env to view the stack trace. Do you know where exactly I have to set the value of EXPO_DEBUG?
Ansyori
  • 2,807
  • 3
  • 29
  • 37
20
votes
2 answers

How do you detect development mode in Expo?

You can turn development mode on and off in the expo XDE, but how do you detect it in your code so you can switch on debug logging or do something differently for the debug build? Their docs show how to enable it, and see it in the UI, but not how…
boatcoder
  • 17,525
  • 18
  • 114
  • 178
20
votes
20 answers

Could not load exp:// Something went wrong

I have created a project using Expo XDE. I checked this Can't load expo app: Something went wrong but I have already enabled "Draw over other apps". It works https://expo.io/@ajaysaini/first-proj when I scan this QR code but it doesn't when I run it…
N Sharma
  • 33,489
  • 95
  • 256
  • 444
19
votes
7 answers

"RNGestureHandlerRootView" was not found in the UIManager

I need to fix this error. Invariant Violation: requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager. This error is located at: in RNGestureHandlerRootView (created by GestureHandlerRootView) in GestureHandlerRootView…
19
votes
5 answers

React Native `RuntimeError: abort(Error: xcrun exited with non-zero code: 2` on iOS simulator

I was working on a React Native project with a group and was asked to use the iPhone 13 simulator as a model while working. I only had access to the iPhone 12 simulator, and I saw that my XCode was a version behind, so I updated it. Now with the new…
Callum Reid
  • 513
  • 1
  • 4
  • 12
19
votes
3 answers

npx pod-install returns "CocoaPods is not supported in this project"

Context: I'm trying to create a React Native App with react-native-video. The iOs installation instruction starts with npx pod-install. Running: npx pod-install Returns: npx: installed 1 in 1.113s Scanning for pods... CocoaPods is not supported in…
19
votes
8 answers

crypto.getRandomValues() not supported

I'm getting this error with npm react-native-webview@9.0.1 when I try to generate a QR code with react-native-qrcode-generator I'm using react-native with an expo managed workflow. And the thing is it works on iOS, and i only get the error on…
jsnid00
  • 528
  • 1
  • 4
  • 8
19
votes
3 answers

Where is info.plist for React Native projects run in Expo for the purpose of callback URLs?

I am handling OAuth requests in my iOS React Native application. This application is contained and launched through Expo. I want to add in a custom callback url, so that I can return back to the application after jumping into a browser. Supposedly,…
Code Doggo
  • 2,146
  • 6
  • 33
  • 58
19
votes
2 answers

React Native Expo StackNavigator overlaps Notification bar

I am trying to implement navigation bar for my React Native Expo app. Here is a problem: "dependencies": { "expo": "^18.0.3", "react": "16.0.0-alpha.12", "react-native": "^0.45.1", "react-navigation": "^1.0.0-beta.11" } I don't…
Andrei
  • 42,814
  • 35
  • 154
  • 218
19
votes
1 answer

How do I create a diagonal border in React Native?

I'm working on building a React Native app based on designs from our designer. The design has several places where there are buttons or shapes with one diagonal line (see the following example). I've tried using SkewX but that just seems to rotate…
user2719094
  • 1,611
  • 5
  • 26
  • 36
19
votes
2 answers

Converting react native project into expo

I'm trying to do the conversion of my react-native project into Expo with the command line 'exp convert'. And I follow the following steps: npm install -g exp then I started 'exp convert' The problem is that execution blocks at this level in…
Senoussaoui Ikram
  • 197
  • 1
  • 1
  • 9