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
35
votes
10 answers

How to fix Something went wrong installing the "sharp" module and Cannot find module '../build/Release/sharp.node' in expo

I tried to install expo after I executed the command exp start but I got: Something went wrong installing the "sharp" module Cannot find module '../build/Release/sharp.node'. How can I fix this problem?
zaki tutu
  • 595
  • 3
  • 7
  • 16
35
votes
13 answers

Uninstalling Expo CLI

I have installed Expo CLI globally and cant start a new react native app without using expo cli and therefore would like to uninstall it from my system. I have spent hours trying to work out how to removeit globally from my system
Judd R
  • 361
  • 1
  • 3
  • 5
34
votes
10 answers

EAS Build iOS Failure: Authentication with Apple Developer Portal failed

I'm using EAS to build my Expo app, and today I started getting this error when attempting to run an iOS build, either local or on EAS servers. I'm thinking it's an issue with Apple servers, so I'm hoping it gets fixed soon. Output from build…
Kollin Murphy
  • 395
  • 1
  • 3
  • 7
34
votes
3 answers

App Store - Help answering "Missing Compliance" (using Expo + Firebase)

I'm publishing my app to App Store and I have doubts regarding the "Missing Compliance" step. Here's some info about the app: I used Expo (Managed workflow). That means I don't have direct access to Xcode. It's a simple 2D video game, free, with…
sandrina-p
  • 3,794
  • 8
  • 32
  • 60
34
votes
2 answers

Not using the Expo fork of react-native

I'm using expo with react native. All is fine, but i get this warning and the app takes a long time in loading : [exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/. How can i fix it please.
Sihem Hcine
  • 1,089
  • 5
  • 24
  • 40
31
votes
13 answers

Failed to install expo package with error: yarnpkg exited with non-zero code: 1 yarnpkg exited with non-zero code: 1

Im currently trying to update my Expo SDK from 36.0.0 to atleast 37.0.0 with the command expo update however im getting the error: × Failed to install expo package with error: yarnpkg exited with non-zero code: 1 yarnpkg exited with non-zero code:…
HCx3
  • 413
  • 1
  • 4
  • 5
31
votes
1 answer

expo.io's BackgroundFetch is not running the defined task

I am currently developing an app for iOS with expo sdk-version 32. I have to call a REST service periodically from my app. In order to do that I tried to utilize the new BackgroundFetch API. Here is my Code: const BACKGROUND_LOCATION_SENDING_TASK…
Struemmeck
  • 421
  • 4
  • 5
31
votes
4 answers

Change navigation header background color

Struggling to understand how to change the navigation header bar background color. I'm Using react navigation and Expo to build my app. backgroundColor does not seem to do anything. Any idea how to do this? My code is below: static navigationOptions…
arled
  • 2,577
  • 6
  • 27
  • 49
30
votes
3 answers

How to remove unwanted expo modules

When creating an react native app with expo, expo installs many module that i don't need. Is there a way to remove these unwanted modules like barcode reader google sign in and google maps. thanks
mcnk
  • 1,690
  • 3
  • 20
  • 29
30
votes
6 answers

Re-render component when navigating the stack with React Navigation

I am currently using react-navigation to do stack- and tab- navigation. Is it possible to re-render a component every time the user navigates to specific screens? I want to make sure to rerun the componentDidMount() every time a specific screen is…
James
  • 3,597
  • 11
  • 41
  • 76
30
votes
1 answer

React Native - iOS - Local image invisible (works on android)

I'm mapping TouchableOpacity with an Image nested inside of it. It works great on Android but on iOS the image is invisible. There is still a 75x75 touchable opacity that I can tap but the image is invisible in the modal that pops up and just in…
30
votes
6 answers

React Native - navigation issue "undefined is not an object (this.props.navigation.navigate)"

Im following this tutorial https://reactnavigation.org/docs/intro/ and im running into a bit of issues. Im using the Expo Client app to render my app every time and not a simulator/emulator. my code is seen down below. I originally had the …
user3676224
  • 863
  • 2
  • 11
  • 25
30
votes
7 answers

How to use import with absolute paths with Expo and React Native?

I'm trying to use absolute import paths instead of relative paths with Expo and React Native. I looked on the expo docs and couldn't find an answer... Searching for the subject in react community I found babel-plugin-module-resolver but it seems…
Eduardo Leal
  • 807
  • 2
  • 9
  • 18
29
votes
5 answers

Main module field cannot be resolved after installing @apollo/client

I'm running into an error after installing Apollo when trying to run my React Native Expo app. I've tried deleting node-modules and re-installing, resetting cache, restarting computer, and still no luck. Android Bundling failed 456ms While trying…
May
  • 321
  • 1
  • 3
  • 4
29
votes
2 answers

react native link using expo?

How can I use react-native link or How can I link a third party library manually in IOS and Android using exponent. I was trying to link react-native-image-crop-picker but unable to use in exponent.
Ankush Rishi
  • 2,861
  • 8
  • 27
  • 59