17,003 questions
Best practices
0
votes
0
replies
13
views
How to correctly implement a global redirect/navigation guard in Expo Router?
I’m trying to implement a global <Redirector /> component in Expo Router to control the navigation flow of my app.
The logic depends on:
Authentication state
Whether the user completed ...
0
votes
1
answer
28
views
How to download files from an API in React Native (Expo SDK 54)?
I am building a React Native app with Expo SDK 54. I want to download a file (e.g., PDF or image) from my API and save it on my device. I am not sure how to handle the file download and save it using ...
0
votes
1
answer
25
views
How do I upload images from the gallery to Supabase storage in Expo React Native?
I am using Expo Image Picker to select an image from the gallery so I can upload the file to a Supabase storage bucket called 'avatars'. In the Supabase storage docs they say:
For React Native, using ...
0
votes
0
answers
46
views
Expo app wont build for simulators after upgrading, what could be the issue?
So i upgraded my expo app from 52 to 54 and now it wont build for simulators at all. I have tried, reinstalling, deleting all build files, clearing expo cache etc.
It builds for my physical device ...
0
votes
0
answers
41
views
Redirect Uri is not working properly in React Native
I have created an mobile app using react native and then i build using **eas build -p android --profile preview....**After that it created an qrcode using that i downloaded my apk file after that I ...
0
votes
1
answer
20
views
Intermittently getting blank screens when navigating between bottom tabs in Expo Router
Environment
expo-router: 6.0.14
react-native: 0.81.5
react: 19.1.0
@react-navigation/bottom-tabs: 7.4.0
@react-navigation/native: 7.1.8
expo: 54.0.12
Tab Layout Configuration
// app/(tabs)/_layout....
0
votes
0
answers
32
views
Full screen View GestureDetector's swipe gesture overrides the system's swipe-back gesture
I followed the expo doc and wrote the following code. Its main function is to use an image as a top background, where swiping down anywhere on the screen increases the image height to zoom in. However,...
0
votes
0
answers
31
views
Expo - React native gesture handler multitouch doesn't work on android
I have an Expo React Native application, and I have two draggable objects which can be dragged simultaneously, at least on iOS, iPhone SE2. On Android, I can drag only one at the time, the second one ...
0
votes
0
answers
13
views
Expo - Add pre-install script to fingerprinting stage
I am trying to run a node script to generate a list of appDomains I need for Apple deeplinking. This node script calls an api to get a list of domains required.
In the build step this works well as a '...
0
votes
0
answers
27
views
How to put the Input in the bottom of the formSheet?
I'm using Expo Router, displaying the page as a formSheet, but my input field isn't at the bottom of the page. Does anyone know how I can fix this?
If I change the display to modal, it works normally, ...
0
votes
0
answers
37
views
How to download iCloud videos with expo-image-picker in Expo?
I am building a React-Native app using Expo that allows users to select and play videos from their photo library. The app works for locally stored videos, but fails when users try to select videos ...
1
vote
1
answer
35
views
Why does Expo Router first show “unmatched route” or a flicker before it navigates to /news?
I'm working on deep link handling in an Expo Router (React Native) app.
When I open a deep link like this: myapp://news/a81c95f9-a6ae-4f1a-8e95-f30b344bbc46
it contains a news ID at the end which I ...
0
votes
1
answer
36
views
HTML text colors not showing correctly in Notifee notifications on Android dark mode (Expo)
I'm using Notifee with React Native Firebase Cloud Messaging (FCM) to display styled notifications that include HTML tags such as <b>, <i>, and <font color='green'>.
In light mode, ...
1
vote
1
answer
77
views
How to define variables with the new version of Nativewind v4?
I've a problem with the Nativewind variables. I created my project on the new version of expo (sdk 54) and therefore nativewind v4 but there is no more file tailwind.config.js to put variables, only ...
0
votes
2
answers
80
views
Unable to build apk file for React Native with expo
I am logged in, but I still get a permission error when I run
eas build -p android --profile preview
eas.json
{
"cli": {
"version": ">= 16.17.3",
...
0
votes
0
answers
29
views
Can I generate an Expo push token in a React Native CLI project?
My old application was built using Expo, and the backend was sending push notifications using the Expo Push API.
- Now, we have created a new project using React Native CLI.
- Is it possible to ...
0
votes
0
answers
20
views
FlashList cells rendering blank after EAS build with custom expo-build-properties config plugin
I have a FlashList displaying a complex list of items. To optimize it, I am using getItemType, overrideItemLayout, and keyExtractor. Everything works perfectly in Expo Go and on a local build (npx ...
0
votes
2
answers
49
views
React Navigation: app crashes when swapping between AuthStack and MainStack inside a single NavigationContainer after login/logout/signup
I manage auth with a context that exposes user and loading. On auth state change (login/logout/signup), I conditionally render either an Auth navigator or the App navigator.
What works
If I only mount ...
0
votes
0
answers
29
views
Nested Stack Navigation History Broken When Accessing Deep Routes Directly
When navigating directly to nested routes (e.g., /(tabs)/personal/journal/[id]) without first visiting the parent stack's index route (/(tabs)/personal/index), the stack navigation history breaks. ...
Advice
1
vote
1
replies
39
views
Slice text on full available space
Hope you're having a nice day.
I'm working on a React Native todo list app.
I want to slice my text when the available width is full and add "..." at the end. Right now I've the algorithm to ...
0
votes
1
answer
166
views
TypeError: Cannot assign to read only property 'userId' of object '#<Object>'
This code worked previously, but now that I upgraded my expo version I am getting the error
TypeError: Cannot assign to read only property 'userId' of object '#'
export interface CurrentUser {
...
1
vote
0
answers
49
views
Expo 54 How to read bundled assets directly without extraction to cache?
I'm building an app with React Native / Expo SDK 54.
The app bundles ~42,000 compressed HTML files (.zst format, ~224 MB compressed) that need to be accessible without network access.
The Problem
My ...
2
votes
0
answers
53
views
Expo React Native App crashes with no errors while filling form
I have built an expo react native app where there are TextInput fields and Picker. Everything was fine while building the UI, the moment I start filling the forms the app suddenly crashes at no ...
0
votes
0
answers
37
views
React native: Touches are not working for positioned absolutely Animated.View on Android
image showing the ui layout for this code:
<Animated.View className="flex-1 items-center justify-center bg-red-600">
<Animated.View className="h-40 w-48 bg-green-800">...
1
vote
0
answers
180
views
React Native Expo not working on iOS build with Expo 54
I'm trying to put together a project for iOS at Expo.
I run the following commands:
rm -rf node_modules android ios
npm i
there is my package.json:
{
"name": "firstapp",
&...