Category "react-native"

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

Flipper plugins and Expo 45

I have Flipper up and running with a development build from expo 45 with eas build. React DevTools is running perfectly and getting detected by flipper. But I n

How to install tailwind-rn?

I have been trying to use tailwind for my react native project but for some reason it won't work. I've done "npm install tailwind-rn" and then "npx setup-tailwi

How to remove listner in the right way in react native navigation with class components

when I use removeListner function to remove the listner on navigation, I got a warning about that and that the remove not works correctly. componentDidMount()

How can I rerender only one item in a flatlist?

I have products with a star icon to add this product in wishlist. I map 10 list of products and each map has 3 products like: (I Map it in Pagerview to swipe to

React Native CLI hide status bar in landscape mode

I have a problem, how can I hide a status bar in landscape mode? In portrait mode its works. I'm hiding the status bar by either: <StatusBar hidden={true} /&

React native Top Tap bar scrollable to specific section in a list?

If the user is scrolling down to Dinner option in the scroll view, then the DINNER icon should get highlighted in the tab. Similarly if the user clicks on Break