138,532 questions
0
votes
0
answers
9
views
React Native GPS Location Detection Issue on Android & iOS
I am working on location detection using GPS in a React Native app. However, I am encountering issues on both Android and iOS:
Android: Works only with exact location (ACCESS_FINE_LOCATION), not ...
0
votes
0
answers
6
views
Reactnative AsyncStorage keep wiping after expo reload
I try to implement this tutorial https://docs.expo.dev/router/reference/authentication/ and get my 2 files in ctx folder like this
ctx/ctx.ts
import { useContext, createContext, type PropsWithChildren ...
-1
votes
1
answer
13
views
Warning: React.jsx: type is invalid -- expected a string when adding an image as a component
Trying to create a body structure on my React Native app using images as buttons.
I get hit with an error "Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a ...
2
votes
0
answers
8
views
ReanimatedError in BottomSheetScrollView – Attempted to extract from a HostObject
I'm encountering a ReanimatedError when trying to use useAnimatedScrollHandler with BottomSheetScrollView from @gorhom/bottom-sheet. The error message is:
ReanimatedError: Exception in HostFunction: [...
0
votes
1
answer
17
views
i got this error wen i upload my app abb file on google play console
i got this error wen i upload my app abb file on google play console which build react native expo but iam facing this error again and again how can i solve this
i try to insert ney keystore but ...
0
votes
0
answers
17
views
ios universal links not opening iOS app. react-native 0.73 firebase auth
im using firebase auth sendSignInLinkToEmail() with universal links, not dynamic links.
When i get an email, i click the email sign in link on my iPhone, but it opens my website, instead of opening my ...
0
votes
0
answers
11
views
node_modules/react-native/scripts/react_native_pods_utils/script_phases.sh:line 34:/opt/homebrew/Cellar/node/23.6.1/bin/node:No such file or directory
"Hello developers, I have an issue in my React Native project (version 0.77). Android is working fine, but when I try to run it on the iOS simulator in Xcode, I get an error. Here are the error ...
0
votes
0
answers
8
views
ERROR Invariant Violation: requireNativeComponent: "RNSScreenContentWrapper" was not found in the UIManager
I'm new to coding in ReactNative so please bear with me. I haven't received this error before. Here is the full error:
ERROR Invariant Violation: requireNativeComponent: "RNSScreenContentWrapper&...
0
votes
0
answers
11
views
Navigate to bluetooth toggle settings screen on android directly with react native
I have an application with bluetooth and sometimes need to help users turn on their bluetooth. The user must go to settings on their android > Connected devices > Connection preferences > ...
0
votes
1
answer
16
views
Bundled React application doesn't render in WebKit despite support for modern JavaScript features?
Problem
I've been developing a React application that works fine in Chrome and Firefox, but fails to render in WebKit-based browsers. The WebKit instance is running in C++ as an overlay atop a ...
0
votes
0
answers
18
views
react native + amplify error "An Unknown error has occurred "
I am creating a mobile app and adding authentication using Amplify
I created the user cognito pool in aws
I can register a new user
but I can't sign in, I get this error:
I tried it using react native ...
0
votes
0
answers
6
views
navigation header jerks in react native
in react native when I normally navigate forward and backward everything works fine but if I navigate very fast within seconds i got a small jerk on my navigation header which means my header re ...
-1
votes
0
answers
14
views
ERROR Erreur lors de l'affichage du paywall: [Error: There is an issue with your configuration. Check the underlying error for more details.]
I have an error when I want to display my revenuecat paywall I followed the doc but it does not want to display even though I use the correct ios and google keys and the correct offering id
import ...
0
votes
0
answers
10
views
Error resolving plugin [id: 'com.facebook.react.settings'] React native
What went wrong:
Error resolving plugin [id: 'com.facebook.react.settings']
A problem occurred configuring project ':gradle-plugin'.
Could not create service of type OutputFilesRepository using ...
0
votes
0
answers
12
views
Struggling with ReferenceError: ReadableStream is not defined in expo react native project
I have been struggling with the following error in my expo project . here are the list of package installed, versions list and the error logs i faced. please help me how can i resolve this issue. its ...
0
votes
1
answer
24
views
Expo env variable is cached in CI/CI since v52 update
We have a GitHub Action self-hosted runner compiler our app automatically, with a configuration looking like this:
name: Build
jobs:
deploy-ios:
runs-on: [ self-hosted, macOS ]
env:
...
-2
votes
0
answers
22
views
What is the best React Native package for an audio player that supports play, pause, scrubbing, and waveform visualization? [closed]
I am using some of npm packages which does not works well in play, pause, scrubbing, and waveform visualization
i have tried with various npm packages over internet but none of it working properly for ...
0
votes
0
answers
10
views
React Native Maps UrlTile Missing Tiles / Pixelation Issue on iOS (iPhone & iPad)
I am using react-native-maps in my React Native app and displaying custom tiles using UrlTile. However, on iOS devices (iPhones and iPads), I am experiencing missing tiles (pixelation) when rendering ...
0
votes
0
answers
9
views
Cannot get text input to move up and sit on top of the keyboard when it shows in React Native using react-native-keyboard-controller library
I just cannot get my text input to sit on top of the keyboard when it shows. I can get it to move up as the keyboard appears but there is always this annoying gap and I do not know how to get rid of ...
-1
votes
0
answers
15
views
Can't parse blob response from API response that was produced by Open API standard React Native
there is autogenerated API:
getSomeRequest( cancelToken?: CancelToken): Promise<FileResponse | null> {
let url_ = this.baseUrl + "/api/Some";
url_ = url_.replace(/[?&...
-1
votes
0
answers
21
views
React Native error : Your React Native project build failed due to an unresolved reference error in settings.gradle.kts [closed]
Where:
Script 'K:\X\Project1\master_cab_app\node_modules@react-native\gradle-plugin\settings.gradle.kts' line: 15
What went wrong:
Script compilation error:
Line 15: plugins {
^ Unresolved reference. ...
0
votes
0
answers
13
views
How to handle local-first file upload with legend-state and supabase?
I would like to give legend-state a try for my local-first supabase app. However I didn't find anything about handling file uploads when the user is offline / gets back online.
I would be greatful for ...
1
vote
0
answers
14
views
Android few cursive fonts are being cropped on left react native
I have one font which is cursive. This font is visible outside of my TextInput and also outSide of text component in react native IOS but in Android if letter is curved on left it is being cropped ...
0
votes
0
answers
29
views
expo requires me to make a new build every time I switch branches
I am a new user of both React Native and Expo. I was wondering what I could be doing incorrectly since I create a new git branch every time I work on a new feature for the frontend/backend. I must ...
0
votes
0
answers
14
views
text-align: justify with fixed letter spacing
I am working with text rendering and noticed that some lines have inconsistent letter spacing. Specifically, certain lines appear to have more space between letters than others.
I would like to ensure ...
0
votes
1
answer
18
views
Push Notification FCM Server Key Error Between Two Apps
I am developing two apps using Expo, React Native, Supabase, and Firebase (for push notifications). Both apps share a single Supabase backend within one project.
For push notification implementation, ...
0
votes
0
answers
13
views
Unable to remove unused i18n dynamic keys
I have a react codebase which uses i18n react package, we have couple of translation files, in some of the components we generate translation keys dynamically for instance
priority__HIGH: "High&...
0
votes
0
answers
28
views
Could not Resolve all files for configuration ':classpath'. could not find com.facebook.react:react-native-gradle-plugin:0.73.0
I've been facing this issue for the past 3 weeks. building the app always returns this error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project '...
0
votes
1
answer
26
views
Can i develop and publish iOS app only using windows laptop with eas build and iPhone without mac?
I don’t have a Mac, but I want to publish an iOS app using EAS Build. I have a Windows PC and an iPhone.
I have a few questions regarding the process:
Can I build and publish an iOS app using EAS ...
-1
votes
0
answers
15
views
React Native Build Fails - react-native-push-notification Missing Permissions & Firebase Version Mismatch [closed]
I'm facing a build failure in my React Native project due to issues with react-native-push-notification and Firebase version mismatches.
I get the following error:
ruby
Copy
Edit
Task :react-native-...
0
votes
1
answer
14
views
Error when processing post install hook: undefined method `new_file' for #<Xcodeproj::Project::Object::PBXFileReference:0x0000000154ab6eb8>
Whenever I run pod install on my React Native project I'm getting the following error:
An error occurred while processing the post-install hook of the Podfile.
undefined method `new_file' for #<...
0
votes
1
answer
29
views
Android problem with "@react-native-async-storage/async-storage"
I have a problem with "@react-native-async-storage/async-storage" lib. my app is expo react-native project, with latest 52 SDK. The problem is, on web it working fine, but on android causing ...
0
votes
1
answer
26
views
The TextInput field cannot invoke the Chinese keyboard on iOS devices
RN:0.73.4 IOS:17
Here is my code!
<TextInput
inputMode="text"
style={styles.input}
onChangeText={text => {
console.log('🚀 ...
0
votes
0
answers
19
views
Issue with dynamic content loading from firebase
I have developed a react-native app that fetches music from firebase. The app works perfectly when I test using expo go. When I generate an apk, and install the app, the links that directly point to ...
0
votes
0
answers
29
views
App hang in background when connect to CarPlay and sleep the iPhone
I'm using BLE library https://github.com/dotintent/react-native-ble-plx to connect to my dongle device in my react-native application. Also the application support CarPlay. The connection is working ...
0
votes
0
answers
25
views
PPP LCP Configure-Ack Not Recognized - Incorrect FSC or LCP Configure-Ack needs Escaping?
PPP Over BLE - LCP Configure-Ack Not Acknowledged by Device
I'm implementing a PPP connection over BLE with a Sauermann gas analyzer using React Native. The device sends an LCP Configure-Request, but ...
0
votes
0
answers
17
views
React Native 0.78.0 IOS build TypeError: _NativeRNLocalize.default.getLocales is not a function (it is undefined)
Just upgraded react native 0.75.4 to 0.78.0. Used the React Native Upgrade Helper and also followed this guide for RCTAppDependencyProvider.
When the build is run for IOS. There is an error that is ...
0
votes
0
answers
13
views
Fix problem "Workspace already contains a project with name react-native-gradle-plugin-gradle-plugin"
I was open react native project with not any java issues but when i try open my project with android studio and test project with it every thing was very good but when i back to VB code and reopen ...
0
votes
0
answers
22
views
Unable to update an existing app release with newer version without installing it as a fresh release
So with the latest expo 52.0.32 update I have started to experiense an issue updataing my app.
So after i build a new release and install it on my phone i could see that it has updated to the new ...
1
vote
0
answers
30
views
Why are components sharing the same object instance? [duplicate]
As an example I have the creation of an axios instance.
/lib/axiosPrivate.js
import axios from 'axios';
const axiosPrivate = axios.create({
baseURL: 'https://xxx.xxx.com.br',
});
export default ...
0
votes
0
answers
36
views
useInfiniteQuery fails on React Native with "observer.getCurrentResult is not a function" error in @tanstack/react-query ^5.66.3 or higher
When using useInfiniteQuery in React Native environments (Android and iOS), the app crashes with the error: "observer.getCurrentResult is not a function (it is undefined)". This error does ...
0
votes
0
answers
9
views
React Native metro-symbolicate Not Resolving Stack Trace to Actual Source Files
I'm working on a React Native project, and I’m trying to symbolicate JavaScript crash stack traces to get human-readable file names using metro-symbolicate. However, when I pass the stack trace to ...
0
votes
0
answers
23
views
react-native-navigation v7: Opening a modal with dynamic height
Is it possible to open a modal in presentation: 'transparentModal' with dynamic height by content? Because by default, it opens in full screen. Or maybe another solution, but in each modal screen, I ...
0
votes
0
answers
11
views
React Native Expo app doesn't play a sound multiple times
I am trying to implement sounds using expo-audio. I should hear a sound when I open the component and press a button. The sound plays on the first press, but when I press the same button again or a ...
0
votes
0
answers
34
views
django and react access control over REST
I am new to react and webservices,
I have a Django+DRF+react project.
I am using one of react open source FW( not naming it because this is a theoretical question ).
this FW gives you an access ...
0
votes
0
answers
11
views
Expo react-native-wifi-reborn connectToProtectedSSID Error on iOS
I'm developing my first expo project and am using the library react-native-wifi-reborn to connect to a web server created by an IOT device (ESP-32) and send over a binary file. The code works ...
0
votes
1
answer
14
views
Thread 1: "-[GUL_MyApp.AppDelegate pushRegistry:didUpdatePushCredentials:forType:]: unrecognized selector sent to instance"
While updating to RN 0.78.0, as react native moved to swift from objective-cpp, after moving to swift, i am getting this error after build suceeds and app opens.
App crashes on the load and xcode ...
0
votes
0
answers
20
views
React Native Android problem, local.properties exist, ANDROID_HOME added, dependency is fine, but still failed to build android apps
I am new in react native android programming, I have discovered that adding local.properties file are necessary in telling the package where SDK is. I did it, and after several library install later, ...
0
votes
0
answers
32
views
pick function in react document picker does not terminate after selecting any file or using the cancel button in android
import {pick, types} from '@react-native-documents/picker';
<Button
title={"UPLOAD"}
onPress={async () => {
try {
const [pickResult] = await pick();...
-1
votes
0
answers
53
views
Why I have different results between logging JSON.parse to console and logging parsed object [closed]
I have a JSON string like this:
{
"operationSettings": {
"guidelines": [
{
"standards": {
"thresholdValue": "${...