Skip to main content

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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
8 views

Antd ReactNative Form component background colour

I'm using Form component in Antd ReactNative V 5.2.0-rc.1. https://rn.mobile.ant.design/components/form/ Is there any way to make Form component background colour transparent?
kamprasad's user avatar
  • 636
-1 votes
0 answers
10 views

npm install failed in expo react native project on MacOs M1

I was trying to install a package in expo React Native project without success. I then tried running npm install and expo upgrade. Unfortunately, npm install failed with following error message: npm ...
Bello Shehu's user avatar
0 votes
0 answers
10 views

Set full background color bottom tabs in android , I write app using React native expo

Help me, I want backgroupcolor full bottom tabs in React Native expo, I run it device android I want to fully adjust the color of the tab below. It's currently missing color at the bottom, you see it ...
Hòa Nguyễn Coder's user avatar
0 votes
0 answers
11 views

Group Voice chat application

I am building a project that features group voice chat, allowing a group of people to audio chat with each other in real-time. I am using the MERN stack for development and using Socket.IO on the ...
Faizan Baig's user avatar
-2 votes
0 answers
11 views

i want add authentication layer to react native application with identity server ( KeyCloak ) [closed]

I want to create local server listen to specific port in react native app and open url in a default browser and local server serve the request with html file get it by path
Contellect's user avatar
0 votes
1 answer
15 views

I can not place what causing NativeWind props to not be recognised in tsx

I am able to call className in jsx file, but not in tsx files. Can someone assist. The error being thrown is: No overload matches this call. Overload 1 of 2, '(props: ViewProps): View', gave the ...
Raffle.ski's user avatar
0 votes
0 answers
14 views

Cannot send a POST request with images (multipart/form) React Native EXPO, Spring as backend

Cannot send a POST request with images (multipart/form) React Native EXPO, Spring as backend handlePost const handlePost = async () => { const formDataToSend = new FormData(); const ...
Sayan Seksenbaev's user avatar
0 votes
0 answers
14 views

How do I fix Cannot find module 'babel-preset-metro-react-native-babel-preset' error whenever I run npx expo start?

Every time I run npx expo start, I get this error and am unable to load my app: error: node_modules/expo-router/entry.js: Cannot find module 'babel-preset-metro-react-native-babel-preset' Require ...
Olivia Zhang's user avatar
0 votes
0 answers
14 views

AWS SDK - Readable Stream Error while using CognitoIdentityProvider or any aws-sdk

When Trying to Access the Cognito Provider to Login in React Native, error as Reference Error - Readable Stream Not Found Version Details "react-native": "0.69.3", "@aws-sdk/...
Abrar Hasan's user avatar
0 votes
0 answers
18 views

Render Error View config getter callback for component RCTModalHostView must be a function (received 'undefined')

I am working on a mobile application in React native (using Expo [SDK :~51.0.18]) Note : I am using Expo router to handle all routing in my project. I am attempting to integrate this new SDK (Lean ...
0xD1x0n's user avatar
  • 733
0 votes
0 answers
8 views

Receiving "TypeError: setUser Is Not A Function, (It Is Undefined), But Its Listed As A Const

There's no other details after that message,but when I attempt to login/register, I'm seeing the "console.log" pop up successfully. Firebase is also receiving the info as well Here is my ...
Jowens4954 's user avatar
0 votes
0 answers
10 views

Why does the defaullt react native iOS App ID contain org.reactjs.example?

I tried implementing deep links in my ios App. I read that I need the App ID in the apple-app-site-associatio file on my webside. On xcode I found the following ID: org.reactjs.native.example.MyApp. ...
JaRoMaster's user avatar
0 votes
0 answers
11 views

Error initializing FFmpegKit: "TypeError: Cannot read property 'getLogLevel' of null" in React Native

I'm developing a React Native application where I need to process videos using the ffmpeg-kit-react-native library. However, I'm encountering an issue during the initialization of FFmpegKitConfig. The ...
Md Monirozzaman khan's user avatar
0 votes
0 answers
8 views

Expo EAS Build Error: Redefinition of module ‘ReactCommon’ during iOS Build

I'm having a problem building my project after recently upgrading to the new Expo version. When I run the : eas build --platform iOS I get an error in Fastlane. Here is the content of the error below....
melvin debot's user avatar
0 votes
0 answers
45 views

Trying to update email but the code is not updating

I'm trying to update email using firebase with react native but the code is not working as it is expected const [newEmail, setNewEmail] = React.useState(""); const ChangeEmail = () => { ...
Omar Bakoban's user avatar
0 votes
0 answers
14 views

React native authenticated screen issue

I want when user is authenticated they can see const HomeStack = () => ( <Stack.Navigator initialRouteName="Dashboard"> <Stack.Screen name="Dashboard" component={...
Bappon D. Akash's user avatar
0 votes
0 answers
23 views

I can't seem to make http requests to my server in React Native Expo app

Something that I honestly can't explain is wrong somewhere and I would appreciate any help. I can't seem to make http requests to my server. I have an express.js/node.js backend server that is running ...
valve's user avatar
  • 23
0 votes
0 answers
19 views

tailwindcss darkmode define for react native

I want to set up light and dark mode color configurations for twrnc and tailwindcss so that I can define colors like this: const colors = { light: { red: { 100: "#880808", ....
phuocantd's user avatar
  • 585
0 votes
0 answers
12 views

How to solve the Android SDK not found issue. It says Android SDK version found: N/A version supported:34.0.0

When trying to build my React Native application using npx react-native run-android, I encountered an error that I've been unable to resolve for the past two days. Here's a breakdown of what I've ...
Ashoka Samrat's user avatar
0 votes
1 answer
19 views

Request on a local server with Expo App is failing

i'm having a little truble here I created a Flask server running on my personal computer at IP 192.168.1.3:5000, and by itself, it works very well. I tested the requests using Insomnia and through the ...
Thiago David's user avatar
0 votes
0 answers
14 views

How to Efficiently Update Live Scores in React Native App Without Constant API Calls?

I'm working on a React Native project which is a mobile app for displaying soccer live scores. The data is fetched from the server and displayed in the app. However, I want to ensure that the live ...
Sami Ali's user avatar
  • 127
0 votes
0 answers
20 views

SSE not working only over HTTPS, need a solution that doesn't change Nginx

HTTP, testing locally works perfectly. As soon as I deploy it to our test server, it doesn't detect any clients from the front-end anymore. When I call the function to send the data through SSE from ...
cloraine's user avatar
0 votes
0 answers
9 views

Expo Samsung Android 12 release build data fetch does not send requests [closed]

I'm developing with Expo. I manage my login and OTP screens with Context. I want to retrieve data by sending a post request to the token I received from the context with a tanstack query. It works on ...
Erdinç Akdoğan's user avatar
0 votes
0 answers
10 views

Google admob Rewarded ads not working properly, It's showing only one time

In my app, rewarded ads only display once. When I return to the main menu or navigate to other pages and then go back to the rewarded ads page, the ads do not show again. I have to close the app and ...
Rainul Hassan's user avatar
0 votes
1 answer
10 views

Include a font asset in the html sent to Expo Print (React Native)

I'm needing to print a barcode in a Expo (React Native) App. I've tried to require the tff file (see below), but this does not work for me. If I use the same methodology to include an image, however, ...
Jrhd437's user avatar
  • 29
1 vote
0 answers
19 views

Facing issues using CameraView imported from expo-camera to set up a QR Code Scanner for a react-native expo project

I have been trying to code for a QR Code Scanner for my React Native project (using typescript). I have followed the latest documentation for expo-camera, and even though my phone prompts for ...
Tahrima Ihsan's user avatar
0 votes
0 answers
14 views

Execution failed for task ':react-native-gradle-plugin:compileKotlin'

was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. infos "react-native": "0.70.0", I am getting error on ...
Yuri Oliveira Gochi's user avatar
-1 votes
0 answers
26 views

Android App Reload on React Native 0.74.3 loads current navigation stack instead of restarting with root component/view

I recently upgraded my app from React Native v0.71.11 to v0.74.3 and since completing the upgrade I've noticed that an App Reload ("r" key) is not restarting the app with the root component/...
NeonCarnage's user avatar
3 votes
1 answer
20 views

No way to add padding to inner container in react-native-chart-kit

I'm using a custom render on the dots to print the abbreviated value above the dot instead of using a y axis legend. However, the top-most value gets cut off by the upper boundary of the chart's ...
Designly's user avatar
  • 520
0 votes
0 answers
10 views

How do I tie a custom lifecycle listener in expo native modules into my main module?

I've added a native view which requires me to ask the user for some permissions and I want to do this in the onCreate method. After reading over expos documentation I came across some boilerplate code ...
KAT's user avatar
  • 213
0 votes
0 answers
19 views

Vertical scrollable content inside vertical carousel in React Native

I am trying to achieve a functionality where I put some vertical scrollable text inside a vertical carousel (react-native-reanimated-carousel). It should scroll the text first and when it reaches the ...
Vineet Mehra's user avatar
0 votes
0 answers
12 views

Trouble setting up a shared component (in a different package) for 1 or more React Native Apps

I am running into trouble with a React Native app. Right now I have this file structure: Outer Folder Packages ----ReactNativeApp1 --------All standard files for React Native App ----shared (Folder ...
Justin Hughes's user avatar
0 votes
0 answers
16 views

Native module RNVectorIcons tried to override RNVectorIcons

After following all the installation process of React Native Vector Icons on GitHub, i ended up getting this error telling me that: Native module RNVectorIcons tries to override RNVectorIcons. Check ...
Daniel Aloyce Daniel's user avatar
0 votes
0 answers
21 views

Replacement for Expo Face Detector?

I have a react native expo app that relied heavily on expo face detector. I have been notified by the google play store that apps need to target a new minimum API version and In my case Is the expo ...
Luke Schaffel's user avatar
0 votes
0 answers
11 views

react-native bluetooth printing gives error

im working on a simple react-native receipt application. currently using package : https://github.com/AllInOneYT/react-native-thermal-printer when i use await ThermalPrinterModule.printBluetooth({ ...
Bineesh Kumar's user avatar
0 votes
0 answers
20 views

Issue with native-base component in react-native:0.73.7

I upgaded my project from react-native:0.68.7 to 0.73.7. I ran the project: react-native run-ios --simulator "iPhone 15 Pro Max" and getting the warn message. warn Package native-base ...
GOPI KRISHNA's user avatar
0 votes
0 answers
6 views

massive frame drops on reanimated pinch and pan gesture using reanimated on react-native-svg

I am trying to implement pinch and pan gestures to move and zoom an SVG. This SVG has multiple paths, and I am trying to implement zoom without losing any quality of the SVG, so I have to scale the ...
saqib's user avatar
  • 141
0 votes
0 answers
10 views

Creating/Extracting/Separating Component Library From Main App

I use expo with development builds (expo-dev-client) in an app i'm working on. There are external libraries that use native code and this is not an issue as I use the dev builds. Now, I want to ...
Damilare Gabriel's user avatar
0 votes
0 answers
12 views

Animated polyline in @rnmapbox/maps in ReactNative

As I've integrated map using @rnmapbox/maps and I want to show animated polyline between 2 markers like this, I go through the all the docs and blogs but found all the docs regarding to React Js but ...
Riddhi's user avatar
  • 797
-1 votes
2 answers
73 views

ReactJS: How to Retain Scroll Position at top When Navigating Between Pages in ReactJS? [duplicate]

I'm encountering an issue in my ReactJS application where, upon navigating to a new page, the page automatically scrolls down to a position below the top of the page instead of starting from the top (...
Ricky 's user avatar
  • 702
-1 votes
1 answer
15 views

How I solved React Native XCode 15.4 and macOS Sonoma 14.5 build error “Command PhaseScriptExecution failed with a nonzero exit code”

This is a very common error that many developers encounter these days. I tried different ways to solve it using various approaches. In this case, you can’t downgrade your code version because it is ...
Chanaka Amarasinghe's user avatar
0 votes
0 answers
16 views

i experience this error when making build after installing react-native-mmkv

⚠️ Something went wrong running pod install in the ios directory. Command pod install failed. └─ Cause: Error installing MMKVCore [!] /usr/local/bin/git clone https://github.com/Tencent/MMKV.git /var/...
Web_Dev_Ary's user avatar
0 votes
0 answers
10 views

React Native Signature Canvas Pad overflowing and styling issues in iOS app

I'm implementing an e-signature feature in my React Native iOS application using react-native-signature-canvas. However, I'm encountering two main issues: The signature pad is getting cut off at the ...
user26345514's user avatar
-1 votes
0 answers
9 views

Execution failed for task:app:checkReleaseDuplicateClasses'

Build failed with an exception. Execution failed for task:app:checkReleaseDuplicateClasses'. This happens when I run the npx expo run:android command. PFA Images for error. enter image description ...
pratik salunke's user avatar
0 votes
1 answer
21 views

I'm Getting "error processing request body error domain=nsurlerror -1000"

I'm developing a React Native application and encountering an issue when making a POST request on iOS. The error message I receive is: error processing request body error domain=nsurlerror -1000 ...
emre varol's user avatar
0 votes
1 answer
15 views

How to generate expo ipa file for ios (like apk in android) using expo eas

How to generate expo IPA file for iOS and install it on my physical iPhone for testing purposes (like apk file in Android) using expo eas. What setting do I need to change in the below code for the ...
Rainul Hassan's user avatar
0 votes
0 answers
15 views

my app started encountering weird errors all of a sudden

I started getting the weird error output below in my Metro console. I think it may have happened after I did npm install react-native-swipe-list-view: === error: Error: Unable to resolve module react-...
random512's user avatar
  • 1,055
0 votes
0 answers
9 views

Add custom text in native call notification in react native callkeep

React native call keep shows the native notification when receiving a call it has the name of the caller and some text like Incoming call via. Is there any way where we can customise the text. I just ...
Irfan wani's user avatar
  • 4,741
0 votes
0 answers
11 views

Add negative padding to a view to offset a parent view

I have the following component Doesnt work <View> // paddingHorizontal of 16 here <ScrollView> // no style added here <View> // marginHorizontal ...
Michael's user avatar
  • 139
-3 votes
0 answers
18 views

Any reason why indexDB doesnt remove this method indexedDB.databases() to improve security of the databases stored?

Why would anyone want to read through all the databases on a browser storage? Why would anyone want to give access to databases to entities who dont know the db name? On top of it it allows the below ...
Ruby9191's user avatar
  • 107

1
2 3 4 5
2758