Category "react-native"

Render between start and stop button in React Native

I wanna render between displaying a start and stop button based on pressing the buttons. That means if the start button gets pressed the stop button should be s

Text inside Pressable has a different background color

I want to create a custom button using Pressable and Text. My problem is that the Text component has a slightly different background color than the rest of my b

SvgXml inside react native storybook for web

I'm implementing StoryBook in a react-native project and running it on the web and mobile with that design: https://storybook.js.org/addons/@storybook/addon-rea

React Native Images On Android Never Reload When Uri Doesn't Change

Despite uploading a new image to an s3 hosted url, the <Image> component will not update the image if the uri does not change. This is a problem for Andro

React-native Vision Camera unable to zoom

I am unable to zoom in https://github.com/mrousavy/react-native-vision-camera on ios devices. I am able to zoom in on android devices without any problem but un

Can React Native's PlatformColor get colors for dark mode when the system is in light mode?

I can't find any details on whether or not PlatformColor can access colors that aren't part of the currently selected system theme. For example, if the system t

React Native - Running iOS in XCode - Build input file cannot be found

Build input file cannot be found: 'App/ios/Pods/Target Support Files/Pods-App/ExpoModulesProvider.swift'. Any ideas how to fix this?

React native, Firebase notification quit state listener re-fire after refreshing app

I'm using React native 0.65.1 and "@react-native-firebase/messaging": "12.8.0", and have messaging().getInitialNotification() listener for cases that the app op

React Native event trigger when app quit state

I want to trigger alarm in app when fcm push notification received, when app is closed (quit state) but there is no event trigger. I'm using @react-native-fireb

Requiring module "node_modules\@react-navigation\drawer\src\index.tsx" while using Drawer Navigation

I am working on building a React Native application. I have installed React navigation stack and worked on it, it works fine. When I installed Drawer navigation

DevTools Bug: Cannot add node "1" because a node with that id is already in the Store

I am using React native debugger tool in the expo-based react native project. I am getting the below error when running the debugger and when I dismiss the err

How to fix the first Screen in a Tab Navigator?

I am using a Stack Navigator inside a Tab Navigator like this: tab1 -> Stack -screen1 -screen2 tab2 -> Stack -screen1 -screen2 And only

Android - How to set heads-up notification icon background color (using FCM or default value)?

I have been able to implement notification icon/text color in the notification center as per Firebase docs. However, on Android 11 (or at least, on my Galaxy S2

Error importing firebase to React Native Expo

I want to authorize the FireBase application in React Native Expo, but I have an error. I am using FireBase version 8.2.34 ( installed with the command "npm ins

React Navigation V5 custom header + Typescript Error: custom property 'rightButtons' does not exist on type 'object' (router.params)

I create custom header: const header = ({ navigation, route, options, back }: NativeStackHeaderProps): React.ReactNode => { const buttons: HeaderRightBut

Azure Notification Hub - Registered IOS devices overwriting each other

Got a strange issue with our notification hub on Azure. I'm using Service Bus Explorer to view what devices are registered. I can only seem to get a max of 2 IO

Trying to build react native app for Android on Mac M1 - Error: No emulators found as an output of `emulator -list-avds`

I have installed Android Studio on my mac M1 I have added a virtual device in Android Studio using Device Manager The app builds fine from inside Android Studio

TextInput React Native not working onChangeText

The text does not update on the screen {account}. When you type on the text input it seems like the onChangeAccount is not called. I have destructured it but it

React Native: 'shared_timed_mutex' error despite upgrading iOS deployment target

I'm getting the following error when I try to build my React Native project: Based on other posts, I tried to set the deployment target to 10.0 using this code

TextInput React Native not working onChangeText

The text does not update on the screen {account}. When you type on the text input it seems like the onChangeAccount is not called. I have destructured it but it