All Questions
Tagged with react-native-web or react-native
141,431 questions
-1
votes
0
answers
22
views
TypeError: Cannot read properties of null (reading 'getConfig')
how can i resolve this problem and this my jest.config.js
module.exports = {
preset: 'react-native',
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
]...
-4
votes
1
answer
22
views
Expo Google OAuth with expo-auth-session: redirect_uri_mismatch and flowName=GeneralOAuthFlow when using auth.expo.io
I’m building an Expo React Native app and trying to implement Google Sign-In using
`expo-auth-session` and `expo-auth-session/providers/google`.
Environment:
- React Native (Expo Router)
- Running in ...
0
votes
0
answers
8
views
How to make Drawer Screens in Navigator appear dynamically in react native?
I am trying to make a Drawer Screen Tab appear dynamically according to a redux state value but this practice is not good as when I change the value of redux state, the whole component remounts ...
-4
votes
0
answers
19
views
Expo LocalAuthentication works on iPhone(IOS 26) but not on iPad mini(iPadOS 26) [closed]
A bit lost here, I have the following code running trought expo go and it does nothing on my iPad but it works fine on my phone:
import * as LocalAuthentication from 'expo-local-authentication';
...
0
votes
2
answers
63
views
GPS position keeps jumping in React Native app even when standing still
place will be around 1000 square meters or a little bit more with statues positioned as shown in image. I am building an offline React Native application that shows a custom map of a location ...
0
votes
1
answer
68
views
Auto-paste text into ChatGPT/Gemini from Android app
I'm developing a React Native app that generates AI prompts. I want to send these prompts directly to ChatGPT or Google Gemini apps with the text automatically pasted into their input field, not just ...
0
votes
0
answers
33
views
Connecting Django Rest API with React Native Application Issue [closed]
I made a system to help the company with a task work, and hopefully, be noticed to work with the development team.
One of the things that's mandatory for my project is its compatibility for mobile ...
Best practices
0
votes
0
replies
24
views
How to handle long text in a table-styled FlatList in React Native
I have this FlatList in React Native:
<FlatList
style={{ width: "100%"}}
data={cases}
ListHeaderComponent={
<View style={styles.listHeader}>
<...
-3
votes
1
answer
58
views
The proper way to assign a default value to a React component prop
I'm looking for a working & elegant solution to assign a default prop value to a React Native core component such as Text.
In the past, we'd do something like this and override it at the index.js ...
1
vote
0
answers
24
views
react-native-config returns empty object on Android (RN 0.80.1, react-native-config 1.1.6)
I am new to React Native. I’m using react-native-config in a React Native CLI project (not Expo), and it works correctly on iOS but returns an empty object on Android.
Environment:
react-native: 0.80....
0
votes
0
answers
38
views
googleMobileAds no-fill - Request Error: No ad to show
I have a react native app on IOS where I am trying to configure adMob with react-native-google-mobile-sdk package.
I have followed this steps to configure adMob. But still getting
[googleMobileAds/no-...
1
vote
1
answer
34
views
session/invalid-output-configuration in android for react-native-vision-camera
This is my app code but I get the error mentioned in title. I even tried the example code of library but got the same error.
import { StyleSheet, View } from 'react-native';
import {
Camera,
...
-5
votes
2
answers
95
views
How to properly upgrade from Expo SDK 52 to 54 to meet the 16KB memory page requirement?
I’m facing the new Play Console requirement that Android apps must support 16 KB memory page sizes by November 1, 2025. Because of this, I’m planning to upgrade my project from Expo SDK 52 to Expo SDK ...
1
vote
1
answer
46
views
The Android Studio is giving me problem occurred evaluating project ':react-native-reanimated'
I am trying to solve 16 KB page size issue that has occured to my React Native project. I have upgraded my react native to 0.81.0 and updated my reanimated library to something 4.1.x.x. Below is the ...
0
votes
0
answers
54
views
Expo app stuck on splash screen then Hermes OOM crash (3GB RAM) on both iOS & Android simulators
Problem
When I open my app, splash screen appears a few seconds and then app gives crash. It starts consuming more and more memory as the time pass. After reaching 3GB of ram it gives crash and closes....
0
votes
0
answers
39
views
Creating react native picture in picture mode
I am trying to create an App that displays live score in a Picture-in-Picture window. From what I understand I need to implement part of code in native Kotlin/Java that sends event from native java ...
1
vote
0
answers
40
views
ExternalPurchaseCustomLink.token(for:) returns nil on one TestFlight device (while isEligible == true)
I’m implementing StoreKit External Purchase Custom Links (EU), and I’m running into a device-specific issue. So far, it works on 3 out of 4 devices, but on one device, I never receive a token at ...
1
vote
0
answers
55
views
React Native Metro suddenly trying to process TypeScript files it can't understand
I get the following error after running npx expo start --dev-client to start my react native expo app:
SyntaxError in node_modules/react-freeze/src/index.tsx: Unexpected token, expected "," (...
0
votes
0
answers
49
views
CocoaPods install error: “version of CocoaPods used to generate the lockfile (1.16.2) is higher than the current executable (1.15.2)” in react native
I'm working on a React Native iOS project using React Native 0.81.4, and I'm getting a CocoaPods–related error when running:
Installing Ruby Gems
Installing CocoaPods dependencies with New ...
0
votes
0
answers
54
views
React Navigation: "Nested NavigationContainer" error and app stuck on loading screen
System:
OS: macOS 15.7.2
CPU: (24) arm64 Apple M2 Ultra
Memory: 133.40 GB / 192.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.20.8
path: /Users/u/.nvm/versions/node/...
-1
votes
1
answer
53
views
How to properly highlight text in expo?
I would like to highlight a multiline text in a expo app by changing the text's background color. there i can like the image highlight color.
my code:
import HighlightText from &...
-1
votes
0
answers
30
views
Unexpected token, expected "," (51:12) on Expo created app from old boilerplate
A few years ago i created an expo app. Added a few extra things on top of the default created app.
Now I am trying to update this app to the latest expo version, after installing expo and all the ...
4
votes
1
answer
226
views
React Native Android: TypeError “Cannot read property 'getConfig' of null” after removing Reanimated (RN 0.75.2, Hermes)
I'm seeing this error in the Metro terminal immediately after my Android build finishes loading:
TypeError: Cannot read property 'getConfig' of null
js engine: hermes
There is no stack trace — this ...
-2
votes
0
answers
41
views
Error entering clerk's email verification code [closed]
I am building a mobile application and the framework I am using is React Native + Expo. When it comes to verifying the clerk's email, there is an error that the verification failed. I received the ...
-4
votes
0
answers
57
views
I am trying to fetch voip token from apple in react native but cannot seem to do so, I am building on xcode cloud as my mac is quite old. xcode is 15 [closed]
I’m trying to implement VoIP push notifications in my React Native app using react-native-voip-push-notification. Regular push notifications (FCM & Apple notifications) are working, but the VoIP ...
0
votes
0
answers
56
views
Xcode 26.1.1 React Native build fails: “Could not delete ios/build” & “Operation not permitted”
I’m building a React Native 0.72.10 iOS app and hitting build errors.
Environment:
macOS: Apple M4, Sequoia 15.7.2
Xcode: 26.1.1
React Native: 0.72.10
Errors:
Could not delete /Users/.../ios/build ...
1
vote
1
answer
75
views
How can I call an async function on double tap?
I have an Expo app where I have an element. I want to call an async function when I double tap that element. For doing that, I found the react-native-gesture-handler library. I wrapped the whole ...
0
votes
0
answers
47
views
React Native – Error spawn Unknown system error -8 when running npx react-native run-android on macOS
I am trying to run my React Native Android project on macOS using:
npx react-native run-android
But the build fails with this error: error Failed to install the app. Command failed with Unknown ...
-1
votes
0
answers
30
views
Supabase upsert in React Native profile table not updating onboarding_completed
I'm building a mobile app with React Native (Expo) and using Supabase for authentication and user profiles.
This is my profiles table
create table public.profiles (
id uuid primary key references ...
0
votes
0
answers
35
views
Error: Native module RNFBAppModule not found. Re-check module install, linking, configuration, build and install steps
I am running project. The project is in react-native not in expo. I am getting this error
Error: Native module RNFBAppModule not found. Re-check module install, linking, configuration, build and ...
-1
votes
0
answers
48
views
Component Re-mounts on redux state changed [closed]
As soon as I use dispatch to change a property of the object in redux state, suddenly the whole component re-mounts in react native. Below is a part of my Slice.tsx:
const initialState = {
...
1
vote
0
answers
46
views
100ms ON_TRACK_UPDATE and ON_PEER_UPDATE is not firing in React Native
I'm implementing a feature that users can join a live class in a React Native app. For that, I need to listen to the events like new peer joined, video turned on/off...
based on 100ms docs, the below ...
-5
votes
1
answer
44
views
How deploy trained model on react native mobile application? [closed]
I have a project of leaf classification, I already have trained model so i want to integrate the model to through mobile application using react native does anyone know how to make it possible?
Best practices
0
votes
0
replies
42
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
75
views
+50
react-native-sound setCategory is not a function
I am updating an old project. I have installed new react-native and new modules. However, I am getting an issue with react-native-sound:
[runtime not ready]: TypeError: _$$_REQUIRE(_dependencyMap[14],...
-1
votes
0
answers
22
views
React Query data update works in dev but not in production (Expo Router, minified build) [closed]
I have a React Native app using Expo Router and React Query. I fetch a list of items using useQuery and display them in a FlatList. I also have a mutation using useMutation to add a new item.
In ...
0
votes
0
answers
24
views
How to get React Native Pressable component to use correct state for onPressOut
I would like to change the onPressOut field from React Native's Pressable component based on the state I pass in. But when I log it, it keeps giving me stale state and I'm not sure why. I would expect ...
Tooling
0
votes
0
replies
23
views
How to update React Native default port?
I’m trying to run a React Native app with Metro on a port other than the default 8081 (e.g. 10000).
I’ve followed the official React Native docs here:
https://reactnative.dev/docs/troubleshooting#...
-1
votes
1
answer
67
views
I can't display curved polygon structures in mapLibre 3D in bare react native [closed]
I'm working on a 2D/3D map with Maplibre in a bare React Native project. I can display 3D buildings with elevations thanks to Maplibre's fill-extrusion feature. However, Maplibre's fill-extrusion ...
0
votes
0
answers
39
views
Build for Android -> TypeError: Cannot read property 'EventEmitter' of undefined
I'm building an application on React Native, it hasn't been updated for several years, so I'm replacing some libraries. According to the guide https://react-native-community.github.io/upgrade-helper / ...
0
votes
1
answer
64
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
57
views
Xcode simulator black screen problem when a specific model was closed - React native expo
Problem
After a successful request, when the modal is closed with setVisible(false), a black screen appears just like that. To explain it more clearly: I open the modal with this button and after ...
0
votes
0
answers
27
views
Debugging React Native App with Charles Proxy (iOS Certificate Trust Issue)
We’re currently debugging our React Native app using Charles Proxy.
On Android, I was able to trust the Charles certificate by adding a network_security_config, which I only include in staging builds.
...
0
votes
0
answers
34
views
iOS EXC_BAD_ACCESS when launching HyperVerge KYC camera from React Native Expo app (Android works)
I’m integrating HyperVerge as my KYC provider in a React Native + Expo app.
On Android everything works fine. On iOS, the flow is:
HyperVerge captures the user’s face successfully
When the SDK asks ...
0
votes
1
answer
46
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 ...
-1
votes
0
answers
25
views
React Native Paper - flex view bleeding views downwards
I want to display a fullscreen picker, which contains a header and a list. Currently my view hierarchy, starting at the Portal, looks like following:
<Portal>
<Modal
visible={...
1
vote
1
answer
44
views
React Native Version Mismatch
When running on iOS I am receiving the error "[runtime not ready]: console.error: React Native version mismatch. JavaScript version: 0.81.5 Native Version: 0.79.6"
The app runs fine on ...
0
votes
0
answers
39
views
Unable to Resolve Class expo.modules.plugin.gradle.ExpoModuleExtension
I'm trying to run a React Native project. The README indicates that it should be good to go after running "yarn" to install dependencies, but I'm getting the following error when I try to ...
0
votes
0
answers
60
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
25
views
Can I create custom JS loader for in memory bundle to be passed in ReactInstanceManager? [closed]
I'm working on implementing dynamic bundle loading for React Native. Currently, ReactInstanceManager.Builder only supports asset:// and file:// protocols for loading JavaScript bundles.
I need to ...