Questions tagged [react-native]
React Native is a JavaScript library used to build native mobile apps using React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere.
react-native
140,940 questions
0
votes
0
answers
7
views
Expo and Clerk needs_second_factor
I have clerk set up in a my expo app, I thought i had disbled second factor for sign in, but when i try to sign in something usual when i change device of enivroments i get "need_second_factor&...
-1
votes
0
answers
51
views
Unwanted pixel gap in react native flex box
There is an unwanted gap of approximately a pixel in between the child components (I colored the background red so it's easier to see). Anyone know how to get rid of it?
...
0
votes
0
answers
19
views
Offline notifications show only the latest one (Expo) [closed]
I’m using Expo Notifications in my app. When a user is offline and my notification server sends multiple notifications, the user only sees the most recent notification after coming back online. Why ...
-1
votes
0
answers
33
views
How to show large icon in expo-notification
Sample Large-icon Img
I'm struggling to get large images to show up in Expo Notifications. I'm trying to achieve a 'Big Picture' style effect (see attached screenshot).
I've tried various payload ...
0
votes
0
answers
32
views
ZoomView fails to render remote video consistently and freezes when camera disabled
Describe the bug
Remote users' video rendering is intermittent on iOS devices when using @zoom/react-native-videosdk. The video feed from remote participants ...
0
votes
0
answers
30
views
TypeError: Cannot read property '__internalInstanceHandle' of null - When using Element Inspector
So, I am trying to debug an expo app. However, when I turn on "Show Element Inspector", when I press something, I get the following error:
...
3
votes
0
answers
32
views
EAS Update not downloading on production build despite matching channels and successful publish
I'm having trouble with EAS Update. The update is successfully published and visible on the Expo Dashboard, but the physical device (installed via TestFlight) is not receiving the changes.
Note on ...
0
votes
2
answers
72
views
React native error on iOS platform: [runtime not ready]:Invariant Violation: 'new NativeEventEmitter()' requires a non-null argument
I'm using React Native write app for android and iOS, the same code for android app can use, but iOS app get error:
[runtime not ready]:Invariant Violation: 'new NativeEventEmitter()' requires a non-...
0
votes
0
answers
20
views
React Native - expo-sharing shareAsync control doesn't return
I am trying to use the expo-sharing package for sharing a file downloaded locally. I was just testing the app in the simulator and came across this behavior.
...
0
votes
1
answer
40
views
React Native Android app not connecting to Metro Bundler
I'm trying to run my React Native app on Android using installDevDebug, and then starting Metro with:
npx react-native-start
...
-3
votes
0
answers
62
views
Crash react native app in android just after launch [closed]
ReactNative ▶︎ /Users/pankajsharma/Desktop/MyProjects/sound_brilliance_hyrbrid/node_modules/react-native-screens/android/src/main/jni/../../../../common/cpp/react/renderer/components/rnscreens/...
0
votes
0
answers
22
views
Gradle 9: react-native-firebase messaging mergeReleaseNativeLibs implicit dependency error
I’m getting a Gradle build failure while generating a release build for a React Native app using @react-native-firebase/messaging.
Environment
React Native 0.82.1 (new architecture enabled)
@react-...
0
votes
0
answers
19
views
Tabler outline icons not showing in react native
There is a blank space between the Home Screen RouteId text and the filled in house icon (IconHomeFilled). That space should have the IconHome icon but it doesn't. I am using a dynamic component to ...
0
votes
0
answers
24
views
sqlite db locking with powersync react-native [closed]
I am using powersync react-native with opsqlite in my mobile client. I download a bundled db in my app and use that to initialize powersync. Now that bundled db has tables which are not synced through ...
3
votes
1
answer
69
views
React Native inactive screen still re-rendering — performance impact?
I’m using React Native with React Navigation.
When I navigate from Screen A to Screen B, Screen A is no longer visible, but it still re-renders when some state changes.
I understand that screens are ...
1
vote
0
answers
84
views
File location mismatch for custom OTA update download
I want to implement OTA Update for my react native cli app. but got this error on Android Studio logcat:
...
-2
votes
0
answers
55
views
Google OAuth Error 400 invalid_request in Expo React Native [closed]
I’m implementing Google Sign-In in an Expo React Native app using expo-auth-session.
When I try to log in, Google shows this error:
Error 400: invalid_request
...
0
votes
1
answer
73
views
How to Convert File URI to Content URI in React Native Expo?
Previously, we could convert a file URI to a content URI using `getContentUriAsync()` with `expo-file-system`. This method is now deprecated. How can we do this now?
1
vote
2
answers
48
views
2
votes
0
answers
40
views
React-Native Pressable's don't respond when page visited again after back navigation
I have a Pressable a MyButton component which uses Pressable from react-native-gesture-handler:
...
1
vote
1
answer
59
views
fetchDeferredAppLink returns undefined on iPhone 13 Promax (iOS 18.5) but returns a string value on iPhone 16 (iOS 26)
I'm trying to test Facebook's Deep Link Tester, apparently it works on android devices, on iPhones it works on some devices that I used (iPhone 16 - iOS 26). I also tested another device which is the ...
1
vote
0
answers
73
views
start function is not firing up the Copilot Steps
Current Behavior
Everything was working fine till I was at react-native: 0.77.3. As soon as I upgraded to react-native: 0.83.0, I start getting issue of copilot-Steps not appearing or appearing after ...
-3
votes
0
answers
27
views
1
vote
0
answers
53
views
onRegionChange / onRegionChangeComplete not firing in react-native-maps
I am using react-native-maps and facing an issue where none of the MapView events are firing — including:
onRegionChange
...
1
vote
1
answer
43
views
I'm doing a build and submit via eas and I get the error: ITMS-90683: Missing purpose string in Info.plist
I am doing a build and submit via eas and I get the error:
ITMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app ...
-1
votes
2
answers
69
views
Build failed in Xcode due to: Command PhaseScriptExecution failed with a nonzero exit code [closed]
My app project fails to build and I have no idea what's wrong?
I tried toggling the " for install builds only " on and off in the build phases tab, which was suggested in other, older, ...
-2
votes
0
answers
58
views
React Native Android deep link does not trigger Linking [closed]
I’m currently implementing a React Native library. One of the features of this library is sending a deeplink back to the host app.
In iOS, everything works as expected — the deeplink is received and ...
1
vote
1
answer
28
views
New route added to Expo Router project throwing "not assignable to type" error
I added a new route to my Expo-Router project, and it's now throwing a "not assignable to type" error. The route seems identical to other existing valid routes, including how the component ...
Best practices
0
votes
0
replies
22
views
How to structure React Navigation stacks for this bottom tab scenario
My application has a logging screen (or multiple screens for when unauthorised, in the future).
After logging in, you are presented with the Home screen. From there, you can access all other ...
1
vote
2
answers
101
views
React Native iOS screens stop rendering after navigation (works fine on Android)
I’ve built a small Amazon Price Tracker app in React Native. The app is fairly lightweight and not CPU-intensive:
Uses React Navigation
Screens:
Home Screen → lists tracked products
Item Edit ...
2
votes
1
answer
66
views
Keyboard problems in React Native
good afternoon.
I'm having a problem with the keyboard in an app I'm developing. Since all the content doesn't fit on a single screen, I need to use ...
0
votes
0
answers
98
views
Does Google Ad Manager support codeless ad units for React Native or native mobile apps?
I previously asked about how to implement GAM codeless ads in React Native
, but that question focused on implementation.
Here I want to clarify the feasibility:
Are codeless ad units in Google Ad ...
0
votes
1
answer
60
views
Google Play warning: FOREGROUND_SERVICE permission used for push notifications, app receives notifications even after killed [closed]
I’m developing a React Native app with push notifications.The Notification triggers from WebSocket. Currently, my AndroidManifest.xml includes:
...
1
vote
0
answers
81
views
expo-location not working on an Android device but working fine on iOS and even Android Emulators
I'm currently making an app for a school project and need to use location for navigating on the app. As stated in the title, it works just fine on iOS devices, and even the android emulator, but an ...
0
votes
0
answers
38
views
expo-calendar property error in React Native application
I am trying to implement expo-calendar in my react-native application, but I get a weird error...
I want to use the Calendar.createEventInCalendarAsync but it gives me the error:
'Property '...
-1
votes
0
answers
76
views
UI not updating during longPress
Using Expo/React Native I have a feature on my app where a user would maintain touch on part of the UI for up to 35 seconds. During this period the UI updates.
When I build Detox tests running on the ...
1
vote
1
answer
66
views
React Native Skia on RN 0.81+ with New Architecture causes massive build time, huge build size, and poor performance
I’m facing serious installation time, build-time, disk-usage, and runtime performance issues when using @/shopify/react-native-skia with the React Native New Architecture enabled on RN 0.81+.
Current ...
-1
votes
0
answers
45
views
analytics().logScreenView, custom definition not working in GA4
I have this in our app and can see it show on engagement screen_view as a parameter name under events. I can even see it under DebugView coming in dynamically from my app. However, you can see ...
1
vote
0
answers
256
views
Migration to Expo SDK 54 and liquid glass header buttons
I recently migrated my app to Expo SDK 54 with liquid glass support. I can't find a way to style header buttons/icons properly. I found online posts saying that it is related to react-native-screens. ...
Best practices
2
votes
0
replies
50
views
How to add Google Ad Manager (GAM) codeless ads unit in react native
I’m building a React Native mobile app and evaluating Google Ad Manager (GAM) codeless ad units
From what I understand, “codeless” in GAM allows ads behavior (targeting, line items, creatives, ...
0
votes
1
answer
31
views
accessibilityState is undefined in tabBarButton after upgrading React Navigation Bottom Tabs
I am using the accessibilityState.selected parameter inside a custom tabBarButton to determine whether a bottom tab is focused, ...
0
votes
0
answers
32
views
Integrating React native (non-expo) into an existing Standalone native android Application
I am currently maintaining a legacy standalone android project that uses a react native module for a particular feature in the app. The current production version of react native used in the app is 0....
0
votes
0
answers
46
views
react native 0.83 performance panel can not record and reload the app
React Native 0.83 project: I want to record and analyze performance, specifically capturing the entire lifecycle of a page from initial load to final render. However, after clicking Record and then ...
1
vote
1
answer
70
views
React Native alternative to HTMLVideoElement.captureStream() for streaming a local video file to mediasoup (WebRTC)?
I’m able to stream a local video file to mediasoup on the web using:
const stream = videoElement.captureStream();
This gives me a ...
0
votes
1
answer
41
views
Has anyone delt with a wheel picker for time in react native
I am trying to build an iOS-style "Wheel Picker" (Drum Picker) in React Native that works smoothly on Android.
The Problem: I implemented a FlatList with <...
0
votes
1
answer
53
views
React native Android - Embedding React native into standalone Android App
a newbie React native dev here. I am currently maintaining a legacy standalone android project that uses a react native module for a particular feature in the app. The current production version of ...
0
votes
1
answer
31
views
Accurate audio seeking in React Native
I've tried a few different audio libraries for React Native, including react-track-player, react-audio-api, and expo-audio. An issue occurs where I try to seek to a specific point in an audio file (is ...
0
votes
0
answers
43
views
Expo go: How to write a base64 string to a file using the new expo-file-system library(version 19)
I was previously able to do this in legacy expo-file-system:
...
0
votes
0
answers
31
views
How to structure syntax of Expo Blur
I'm developing an Expo React Native App and want to utilize the expo-blur library. After installing and testing around, I see that anything included between the <Blur View > brackets is not, in ...
1
vote
0
answers
61
views
React native JP text duplication
After iOS26, I have a very specific bug that I don't know how to handle, even with AI.
By typing 8 Japanese characters or numbers 12345678, the input will receive duplicated 12345678123456, so 123456 ...