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.
16,539
questions
13
votes
4
answers
3k
views
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 ...
13
votes
2
answers
14k
views
Encrypting sensivite data in React Native and Expo
I'm working on a mobile app with React Native and Expo, providing security solutions. Project owner wants to store in app sensitive authorization keys, used to communicate with REST server and access ...
13
votes
4
answers
13k
views
expo sqlite use existing database
According to the expo sqlite documentation for react-native I can initialize a db like so:
const db = SQLite.openDatabase('db.db');
This works and I can update the db like so:
update() {
db....
13
votes
2
answers
24k
views
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 ...
13
votes
2
answers
16k
views
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 ...
13
votes
6
answers
7k
views
at using Expo, After splash screen, Blink(Flash) with white screen
I made Expo app with react native navigation 5.
please refer my solved question(same install situation).
but After splash on FIRST launching, White screen is blink(Flashed : about 0.5 sec). Especially,...
13
votes
6
answers
19k
views
Execution failed for task ':expo-permissions:compileDebugKotlin'
I am working on a React Native app where I included some expo libraries (bare workflow). I had successfully used expo-location, but now after I installed also expo-camera, the app won't build anymore ...
13
votes
3
answers
10k
views
Missing Debug JS Remotely option in Developer Menu
In order to use React Native Debugger, I don't see the option 'Debug JS Remotely' when I open the Developer Menu both on my android simulator and my physical device, using expo. Tried both scenarios ...
13
votes
1
answer
11k
views
React-Native app reverse engineering and obfuscation
Is react-native expo generated apk obfuscated?
exp build:android
How can I retrieve my react native JS source code back using that apk? Do I need dex to java compilers for this purpose?
Looking ...
13
votes
6
answers
10k
views
Expo Router, No route named "register" exists in nested children
I am developing Mobile App using expo react. I got the following error while I was trying to route my app using expo-router.
[Layout children]: No route named "register" exists in nested
...
13
votes
3
answers
3k
views
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 '...
13
votes
1
answer
4k
views
How can I select multiple files with DocumentPicker in Expo?
Hello guys I guess some of you already got in this issue. I am wonder if there is a way to select multiple files using Expo Document Picker or I just need to select them one by one which obviously is ...
13
votes
2
answers
3k
views
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 ...
13
votes
1
answer
2k
views
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.
...
12
votes
6
answers
24k
views
How I can resolve this : Warning: Encountered two children with the same key, `%s`
I am new to react-native and this is not me who program this app.
Could someone help me to fix this error, I think its the flatlist who cause this because it happen only I load the page or search ...
12
votes
4
answers
8k
views
Best way to persist firebase login using expo go
I am trying to make an app in React Native using Expo Go. have successfully gotten google sign in working and it's all good. Unfortunately, the user's login does NOT persist between app relaunches. At ...
12
votes
5
answers
13k
views
How to fix react-native error after updating expo to 50.0
When I run npm run ios in terminal, I get the below error
error: node_modules/expo-router/entry.js: [BABEL]: expo-router/babel is deprecated in favor of babel-preset-expo in SDK 50
I tried to ...
12
votes
5
answers
10k
views
Fast refresh in react native always fully reload the app
This question has been asked several times here(here the most relevant,Another example), but no solution has been proposed in any of them. So I have 2 questions to you guys:
Any idea why it wouldn't ...
12
votes
3
answers
7k
views
Expo on iOS is constantly refreshing my React Native app on MacOS, caused by Dropbox / iCloud
I'm building a simple React Native app and using the Expo iOS app to run it. But Expo is constantly refreshing my app, making it unusable / untestable. It refreshes every few seconds, sometimes ...
12
votes
1
answer
13k
views
How can I check if my React-Native app is running in a web broswer vs running in an ios/android app?
Basically what the title says. I am aware of the Platform component (https://reactnative.dev/docs/platform-specific-code) which can be used to check what device the app is running on. Although, from ...
12
votes
5
answers
26k
views
npm install fails (unable to resolve dependency tree)
Trying to reduce any changing variables and using a fresh pull of my code. They are no node-module packages or package-lock.json. I run npm install I get this error:
npm ERR! code ERESOLVE
npm ERR! ...
12
votes
5
answers
29k
views
How to snap pictures using expo react native camera?
I have just started using React Native with Expo so I am kind of confused. So, I have made a camera component which I imported in the main screen. Everything looks good. But I can't take pictures. I ...
12
votes
3
answers
42k
views
use create-react-native-app without expo-cli
I have set up create-react-native-app as said in the react native docs. If my project name is proj, according to the docs, the commands to be run should be :
create-react-native-app proj
cd proj
npm ...
12
votes
3
answers
7k
views
"Expo Developer Tools is disconnected from Expo CLI." when trying to run react native project
Once I hit
expo start
expo runs for a few seconds but then gives me the following error:
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:...
12
votes
5
answers
10k
views
expo-barcode-scanner only works once with react-native version 0.64.2 and expo 43.0.0
Because of Google Play, I had to update an old project of mine to the latest expo versions (version 43.0.0 to be exact). The idea is for the app to scan a QRCode and process the data, simply. However, ...
12
votes
2
answers
14k
views
Expo.FileSystem.downloadAsync do not show download notification
I am using expo FileSystem to download the pdf file. The API response lands into success function. However, I am not able to show the downloaded file to the user.
The expected behaviour should be ...
12
votes
7
answers
3k
views
Expo.io - Module JSTimersExecution is not a registered callable module
I setup a React-Native app using the React Native offical docs. But I keep getting this error message Module JSTimersExecution is not a registered callable module when viewing the app from Expo app in ...
12
votes
6
answers
49k
views
React Native Error: Project with path ':expo-modules-core' could not be found in project ':react-native-reanimated'
I am getting the following error running React Native bundle release in the Android folder. I have tried updating Expo as well as installing an older version of it instead and I'm still getting the ...
12
votes
5
answers
12k
views
React Native "The expo SDK requires Expo to run. .... this code is not running on Expo."
I am coding with React Native. I don't see that when I first create react-native app for check running. When I implements my code see that. My purpose is generate apk.
app.json
build.gradle
index.js (...
12
votes
1
answer
6k
views
Is it possible to use more than one Babel preset in a project?
I am developing a React-Native app, which was installed using Expo, that creates .babelrc config with this code:
{
"presets": ["babel-preset-expo"],
"env": {
"development": {
...
12
votes
1
answer
8k
views
Getting error 'Constants.platform.ios.model' has been deprecated in favor of expo-device
I'm getting the following error in my new project Expo React Native. please guide:
"WARN Constants.platform.ios.model has been deprecated in favor of expo-device's Device.modelName property. ...
12
votes
3
answers
14k
views
Expo Publish Equivalent for EAS Expo Application Service
I have just migrated my project from expo classic to eas via documentation provided by expo.
Now, I need to update the App over the air which was previously possible with "expo publish" ...
12
votes
3
answers
6k
views
React Native - Disable Password AutoFill Option on iOS Keyboard
In React Native, how do you disable or prevent the keyboard from displaying the Password Autofill accessory view option? There doesn't seem to be an property for TextInput that handles disabling this ...
12
votes
5
answers
33k
views
How to force users to update the app using react native
I have updated my app on app and play store and I want to force my app users to update the new version of app in App store and playstore.
12
votes
5
answers
17k
views
Expo EAS local build: Cannot find module '@expo/config-plugins'
With eas-cli version 0.52.0, the local build generates the apk as expected.
When using eas-cli version >= 0.53.0 I get the following error: Cannot find module '@expo/config-plugins'.
I use the ...
12
votes
2
answers
5k
views
Is there any way to change the Splash Screen background color in Expo according to dark/light themes?
I'm trying to change my Splash Screen's background color on my expo app in accordance with the system's dark/light theme configuration, however since I can't reach out for the Appearance module I ...
12
votes
3
answers
11k
views
ScrollView can not scroll to the bottom when keyboard is open in react-native.[IOS]
Scrollview is working fine when keyboard is closed. But when the keyboard is open, it's not scrolling to the bottom. It's working fine in Android, though. The issue is only with iOS.
If I use react-...
12
votes
5
answers
8k
views
How to forbid Tablet usage in expo / react-native?
I have developed an app with Expo and react-native for Smartphones - now I am trying to upload the ".aab" file to the Google Play Store - however it seems like it will be available for tablet and ...
12
votes
2
answers
4k
views
Expo - Network Response Time Out Error (create-react-native-app) (Windows 10)
I have the exact same problem as here: Network Response Time Out Error (create-react-native-app) (expo). Every time I try to scan the QR code from my phone on LAN, I get the network response timeout ...
12
votes
1
answer
3k
views
How can I get the cause of a sql error from Expo SQLite API?
Having the following code:
import { SQLite } from 'expo';
const db = SQLite.openDatabase('mydb.db')
db.transaction( tx => {
tx.executeSql('insert into invalidTable values (?,?)', [1,2], null, (...
12
votes
1
answer
2k
views
What are the asset download mechanics of Expo and React-Native during development and production mode?
I am confused about the mechanics of Expo and React-Native, how they download the assets.
The info that I know is, once you build your code, expo prepares a bundle which contains both the javascript (...
12
votes
3
answers
37k
views
Module RCTEventEmitter is not a registered callable module (calling receiveTouches)
When i try to run the app after some changes i get this error.
What i'm doing wrong ?
Module RCTEventEmitter is not a registered callable module (calling
receiveTouches)
__callFunction
C:...
12
votes
3
answers
3k
views
Use single expo codebase for multiple apps
I got an application what we white-label for others.
This means we share the same functionality through the apps but there are some specific design elements (mostly colors and pictures) in each app.
...
12
votes
1
answer
729
views
How to use Google Play pre-launch report with expo / react-native
Google has a built in app crawler for the app store called the pre-launch report.
It will crawl your app on a bunch of different devices and give you some basic feedback assuming you:
provide ...
12
votes
0
answers
950
views
React Native warnings after upgrading to SDK 49 Expo
Hi i'm getting those warnings after upgrading my react native app to SDK 49
"transform" style array value is deprecated. Use space-separated string functions, e.g., "scaleX(2) rotateX(...
12
votes
6
answers
7k
views
You gave us a visitor for the node type TSInstantiationExpression but it's not a valid type
After expo update, my project not working
The error is:
Failed building JavaScript bundle.
node_modules\react-native-gesture-handler\src\index.ts: [BABEL] D:\data\Anonymous\ReactNative\test\...
11
votes
2
answers
8k
views
Can I run my Expo app on multiple iOS Simulators at once?
Is it possible to run an Expo app on multiple versions of iOS Simulator at once? It would be really nice to have two or three iPhones refreshing automatically, so that it's easy to tests the layout ...
11
votes
8
answers
41k
views
Value for title can not be cast from ReadablenativeMap to string
Consider:
InsertDataToServer = () => {
const { pinValue1 } = this.state;
const { pinValue2 } = this.state;
const { pinValue3 } = this.state;
const { pinValue4 } = this.state;
var String_3 ...
11
votes
2
answers
10k
views
React Navigation 5 - How to navigate from headerRight?
i still trying to understand this react navigation 5.0.
Fyi i'm using expo, and right now no problem when navigate from one page to other,
problem is when i put navigation for the headerRight.
i put ...
11
votes
13
answers
36k
views
There was problem loading requested app.it looks like you may be using LAN URL
I am not able to compile my project through expo.I have followed all steps to eject expo for run the app in iOS.Please find below error screen shot for your reference.enter link description here