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
52
votes
15 answers

EXPO: Unable to resolve module ‘./debugger

After a reload my app has stopped loading. a I have tried on both emulators and 2 real devives, android and ios. The error is: Error: Unable to resolve module ./debugger-ui/debuggerWorker.d9da4ed7 from ``: and occassionally I will get the error,…
Serdar Mustafa
  • 835
  • 2
  • 9
  • 20
50
votes
11 answers

How to reduce the size of an expo/react-native app on Android

I am developing a small dictionary app by using react native with expo. As I am compiling to Apk file. The size goes up to 30mb and after having installed on a device, it goes to 80mb. Is this normal? Are there any ways to reduce the size of the…
Sras
  • 1,686
  • 2
  • 19
  • 29
49
votes
10 answers

React-native bundling failure. ERROR MESSAGE: "While trying to resolve module 'idb'..... Indeed none of these files exist":

ERROR MESSAGE IN QUESTION: While trying to resolve module idb from file C:\Users\OG\Desktop\programming\react_native\mealstogo\MealsToGo2\node_modules\@firebase\app\dist\esm\index.esm2017.js, the package…
JohnyClash
  • 630
  • 1
  • 5
  • 10
49
votes
9 answers

React Native: Generate .apk and .ipa using Expo

I'm trying to generate a .ipa and a .apk file for my React Native app using Expo & Create React Native App. I successfully built the app and was able to get it to run on both an iOS & an Android device thanks to the docs:…
clems36
  • 922
  • 1
  • 13
  • 26
48
votes
17 answers

NativeModule: AsyncStorage is null, with @RNC/AsyncStorage

I'm working on a React Native project created with Expo. I've been using regular old AsyncStorage, importing from react-native, and all has been well. In looking up how to mock AsyncStorage for testing, I saw that…
Jonathan Tuzman
  • 11,568
  • 18
  • 69
  • 129
48
votes
9 answers

expo + react-native: There was a problem sending log messages

I am building a react-native app that I recently moved to expo. The app seems to display the expected screen, but before it completes, I am receiving the following error message: console.error: "There was a problem sending log messages to your…
user1790300
  • 2,143
  • 10
  • 54
  • 123
46
votes
12 answers

react native downloading javascript bundle 100% stuck

when I am trying to execute npm start it works fine, but when i try to run my application by expo the process goes till 100% and after that nothing happens. I am not getting what is exact issue over there. I am having following things in…
Deepak
  • 472
  • 1
  • 4
  • 7
46
votes
15 answers

Calling locally hosted server from Expo App

I am creating a react-native app and one of the components I have created contains a property which is populated through data coming from an http request. Right now I am hosting the server from my laptop, however I am testing the app on my phone…
iSeeJay
  • 783
  • 2
  • 6
  • 13
42
votes
6 answers

How can I upload a photo with Expo?

I'm making an app with Expo and want to let the user take a photo or pick one from their camera roll and upload it to my server. How do I do this?
ide
  • 19,942
  • 5
  • 64
  • 106
41
votes
6 answers

'Stack.Navigator' cannot be used as a JSX component

There is a type issue using react navigation, when use Stack.Navigation or Stack.Group from createNativeStackNavigator The issue saids that the types dont match with JSX.element at the end of the messages is more specific: Type '{}' is not…
41
votes
36 answers

Can't load expo app: Something went wrong

I've created an expo app with exp init MyApp command and started it by running exp start in MyApp directory. Then I'm scanning barcode which was printed in console with expo mobile app on android device. Then "Something went wrong" screen is…
humkins
  • 9,635
  • 11
  • 57
  • 75
39
votes
14 answers

React Native Expo change default LAN IP

I've got virtual box installed. And when I look at the host > LAN > ip address is exp://192.168.56.1:19000. How can I change it without disable the network? because it's my virtualbox ip and my device can't connect to it. Thanks
ssuhat
  • 7,387
  • 18
  • 61
  • 116
37
votes
7 answers

How to reduce Android APK size in react-native?

I am working on react native project , but whenever i am building an Apk file , it give me Apk of 47MB. I tried every documentation which i found useful on google but nothing works for me, Is there any way to reduce my App size below 10MB as the app…
Parshant Dutta
  • 450
  • 1
  • 4
  • 12
36
votes
13 answers

Android Material and appcompat Manifest merger failed in react-native or ExpoKit

I updated 'android.support:appcompat-v7' to 28.0.0. But it brought an error from the build. Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0]…
hong developer
  • 13,291
  • 4
  • 38
  • 68
36
votes
9 answers

How to define entry point for react native app

I'm just getting started with react native and have created a base app with create-react-native-app. I did some restructuring and made a few new folders and renamed the App.js to Home.js. I modified the app.json to contain an entry point that…
TemporaryFix
  • 2,008
  • 3
  • 30
  • 54