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
13
votes
3 answers

Change border color of TextInput when focused in react-native-web (expo)

In the last versions of Expo there is a Web support. In the picture you see a normal TextInput created with React Native & rendered in the Web. How can I change the color of the TextInput Border that is activated on focus? You see an orange border…
Arbnor
  • 2,190
  • 18
  • 26
13
votes
1 answer

How to handle a share intent(sending an image) in the expo app?

Is there any way to handle sharing files to expo app? According to the documentation of app.json it's possible to provide intentFilters, but I can't find anything regarding handling them afterwards. Ejecting is not an option.
Phil Rukin
  • 450
  • 2
  • 17
13
votes
5 answers

React Native local images load slowly

I'm building an app using React Native with Expo. Everything works fine except the images, they load correctly but it takes about 2 seconds to load, and it's weird because all the images are local images and they are light too, so they should load…
Simone Romani
  • 415
  • 2
  • 6
  • 20
13
votes
5 answers

React Native Expo - Node.js version 11.13.0 is no longer supported

I'm using Expo with React Native but when trying to create a new project I get the error: ERROR: Node.js version 11.13.0 is no longer supported. expo-cli supports following Node.js versions: * >=8.9.0 <9.0.0 (Maintenance LTS) * >=10.13.0 <11.0.0…
Hasen
  • 11,710
  • 23
  • 77
  • 135
13
votes
3 answers

Can't debug expo project on vscode

I have an expo project, which we can run and build and it works correctly in android and iOS. What I want is to debug said project using my Visual Studio Code. I followed some guides and tried the following: Adding React Native Tools extension in…
13
votes
2 answers

Network error with axios and android emulator

I got a React-Native application working with a NodeJS backend which serves an API. My React-Native front is using Expo and Axios to hit on a route of my NodeJS API (using Hapi, Joi, Knex), which will (for the example) update my DB…
GuillaumeRZ
  • 2,656
  • 4
  • 19
  • 35
13
votes
3 answers

Expo DevTools TypeError: Cannot read property 'compile' of undefined

I cannot get the Expo DevTools to work. My approach: npm install -g expo-cli expo init cd PROJECTNAME expo start I just get this error message in the console: TypeError: Cannot read property 'compile' of undefined And this one in the DevTools…
FBa
  • 135
  • 1
  • 7
13
votes
31 answers

Can't run "npm install expo-cli --global"

I am a newbie in all this stuff. Hope for your understanding. Let me clarify the issue: I am trying to start react native app through expo cli. So tried to start npm install expo-cli --global to install npm globally. I got these…
13
votes
3 answers

Suddenly seeing error "Plugin/Preset files are not allowed to export objects, only functions" in create-react-native-app project

Have been working on a project generated via create-react-native-app. Have been successfully using the project for some time, but now trying to test the app via exp start --tunnel, am suddenly seeing error (though was working previously) of the…
lampShadesDrifter
  • 3,925
  • 8
  • 40
  • 102
13
votes
2 answers

Download file using Blob in react-native

Since React-native v0.54 and Expo SDK v26, Blob are now supported. I'm trying to download a file available on a URL to my phone (if possible, in my Downloads directory on Android) All i can find for now is existing solution using…
Louis Lecocq
  • 1,764
  • 3
  • 17
  • 38
13
votes
4 answers

Cannot open phone call with Linking.openURL

Description Cannot open phone call with Linking.openURL('tel:+123456789') Environment Environment: OS: macOS High Sierra 10.13.4 Node: 8.5.0 Yarn: Not Found npm: 5.8.0 Watchman: Not Found Xcode: Xcode 9.3 Build version 9E145 Android…
Riki Chou
  • 509
  • 1
  • 3
  • 13
13
votes
2 answers

Remove expo from react native

I've had so many troubles with the tool, I seriously have been debugging expo morethan the app itself. How might I remove expo completely from CRNA? I would like to use CRNA and it's debugging tools without expo
Youssef Ell
  • 171
  • 1
  • 1
  • 7
13
votes
2 answers

Expo audio recording webm

I am using expo and I am trying to record on android by using the webm output format ( Expo.Audio.RECORDING_OPTION_ANDROID_OUTPUT_FORMAT_WEBM ). My issue is that I have tried all the different encoders and none of them seem to work. I was expecting…
Stavros Zavrakas
  • 3,045
  • 1
  • 17
  • 30
13
votes
4 answers

Load custom native component in react native using expo kit

Im trying to load a custom Android WebView to be able to upload files using html file inputs (by default Android webview wont work with input file). Im using this code, the only difference is that im using expo kit, so my MainApplication.java is…
Renato Probst
  • 5,914
  • 2
  • 42
  • 45
13
votes
4 answers

How to use google reverse geocoding with react native Expo?

I want to put in my application a button that when pressed return the current address of the cell phone. The latitude and longitude I am able to return correctly, and to convert this data into an address I got to the react-native-geocoder…
Magas
  • 522
  • 1
  • 4
  • 22