Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
↧

Image may be NSFW.
Clik here to view.

Tab Bar Icons not vertically centered React Native Navigation

When testing my react native app (with expo) through the expo go IOS app the icons are not vertically centered, however when testing on web they are vertically centered. I have tried giving each icon a...

View Article


Dynamic type for custom navigator in react native

In my React Native app I have a custom Navigator file in which I have multiple navigation methods because are used from multiple places in the app.I have a big issue at the moment because I have some...

View Article


Why is Electron Forge dropping typeorm index.js

Electron Forge, NextJS, Typescript, and React Native app runtime error:2025-03-06T15:06:23.146Z - ERROR:...

View Article

Shared package configuration used in monorepo with react and react native

I'm a bit desperate for help as I've been fighting with this for days now.I have 2 different projects, the first one is a single React web app and the second is a monorepo that holds a React web app...

View Article

WebView blocks KYC verification flow (target="_blank" issue)...

I'm here because I need some help about webviews in react-nativeDescriptionI am integrating react-native-webview to handle a KYC (Know Your Customer) verification flow. The WebView loads a secure...

View Article


ReferenceError: Property 'FinalizationRegistry' doesn't exist [Component Stack]

I build an expo app.How can I fix this error: ReferenceError: Property 'FinalizationRegistry' doesn't exist?It suddenly appeared without installing any new libraries. I’m only using design libraries...

View Article

Strange typescript error on React Navigations popTo function (react-native...

tl;dr: Although it works in the emulator, typescript gives me a strange error on react navigations nav.popTo function. Please help me figure out how to get rid of the error.This is my navigation...

View Article

default splash screen visible before the custom splash screen in react native...

I am using React Native with Expo and have created a custom splash screen after make a profile preview build expo default splash screen is visible before my custom splash screen,i have used this...

View Article


The right side of the PDF gets cut off when I click on Open PDF in Preview...

When I click on "Open PDF in Preview" after triggering the print dialog using the react-to-print component in my React app, the right side of the PDF gets cut off.Setup:I am using react-to-print to...

View Article


Type Errors on React-Native-Reanimated

I am using reanimated on a project and I am receiving an errorArgument of type '() => { transform: ({ rotateX: `${number}deg`; rotateY?: undefined; } | { rotateY: `${number}deg`; rotateX?:...

View Article

How to prevent the header from showing on web React Native Expo

The header is showing on the web version and only on the web version when I have header set to false on my _layout.tsx file. I don't think there's anything to try to fix this problem. I tried searching...

View Article

Azure AD B2C Implementation in react native

I want to integrate Azure B2C into my React native app, but all the articles I have found are outdated. I am using TypeScript components with Expo. How can I achieve this? I would appreciate any help.

View Article

Image may be NSFW.
Clik here to view.

Styling a react native view with NativeWind

I'm new to expo react native development and I am currently practicing with an online tutorial. I'm trying to create a custom layout to use in a view but when styling I get a different result other...

View Article


Why do my navigation chevrons and done button appear above one text field,...

I'm currently trying to build a new app to journal things. I have a new entry file that I've attached. When I'm on a textfield I want to have above the keyboard an up and down navigation chevron and a...

View Article

Font Family is not applying to canvas in react native expo

So, i used react-native-canvas library to use canvas on my react native project, everything went very good but when it comes to selecting of font family's, like for example pacifico or anything like...

View Article


Expo React Native ts Nativewind ( (NOBRIDGE) ERROR Error: Exception in...

I have problem with my expo react native with nativewind project,when I upgrade the expo SDK from 51 to 52 and test the app on actual device iPhone 12 pro via expo app downloaded from app storeit...

View Article

Image may be NSFW.
Clik here to view.

Indicator Glitch in React native scrollspy

I am experiencing an issue with the tab indicator on Android when tabs autoscroll. The indicator disappears during the autoscroll process, and when I manually scroll the tabs back to their initial...

View Article


Writing data to neon sql database

I am trying to save some data to my sql database from my app on button press by referencing the data from my store. but nothing gets added and I don't know why. I'm still learning sql. this is where I...

View Article

How to use @expo/vector-icons dynamically through props in typescript react...

react native app with typescript and I'm trying to create icon button that uses @expo/vector-icons with Fontawesome or MaterialIcon dynamically by trying to pass a name as a string via props.I think...

View Article

Cannot import `getReactNativePersistence` in `firebase@10.1.0`

I cannot import the getReactNativePersistence module from the firebase/auth. I'm using Typescript.Importing the function as below was possible, but it didn't work when I updated the Firebase SDK from...

View Article

(NOBRIDGE) WARN [Layout children]: No route named...

(NOBRIDGE) WARN [Layout children]: No route named "inspection/[projectId]/[itemId]" exists in nested children: ["+not-found", "login", "new-project", "_sitemap", "(auth)", "(tabs)",...

View Article


Cannot find native module 'ExpoTaskManager' when using expo-background-fetch...

When using the expo-task-manager package in my React Native project, I encounter the following error when trying to import the TaskManager and BackgroundFetch modules:Error: Cannot find native module...

View Article


Xcode Build Fails - Command PhaseScriptExecution Failed Due to Missing Node...

I am working on a React Native project and encountering the following build error when trying to run my app on iOS using Xcode:Node found at:...

View Article

Expo monorepo build fails with module not found

I am using react native and expo eas in my monorepo.The app lives inclients/mobile/<react native app>My metro.config.js lives inside the mobile folderconst { getDefaultConfig } =...

View Article

Victory native multi press doesn't work in my graph

I'm trying to plot a graph with Victory native that's use multi press tooltip. The problem that I'm having is that when i click it on the graph it does not show me the y axis value (which is price in...

View Article


RN Animated.FlatList ScrollToIndex(0) causes Flashing Behaviour in Android

I'm trying to create a carousel with infinite looping on finite set of data using FlatList and am using ScrollToIndex to scroll to start when I reach the end and scroll to the end when I reach the...

View Article

Gluestack-ui FlatList typescript issue

I'm using FlatList from gluestack-ui/themedimport { FlatList } from "@gluestack-ui/themed";<FlatList data={galleryUrls} renderItem={({item, index}) => <GalleryItem url={item} />}...

View Article

Everything is set but can't draw them graphs on my grid [closed]

I want to be able to draw curves on my screen.I have this math application that's supposed to help me improve my understanding of functions and their graphs but unfortunately I know but too little...

View Article

How to detect auto-rotation status (enabled/disabled) without actually...

I'm trying to check the auto-rotation status of the device in React Native for both Android and iOS.I need this to handle the logic: when a user rotates their device & auto-rotation is enabled...

View Article



Cannot find native module 'ExpoCamera'

I am building a react-native app for android using typescript and expo. I want to access the camera. For this I have used the code from the expo documentation:import { CameraView, CameraType,...

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>