Category "react-native"

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

Correct way to use memo in Flatlist react native

Good evening everyone . I have created the following Flatlist : <View style={{ flex: 1 }}> <FlatList ListFooterComponent={

Integrating admob in react native cli

I am trying to integrate admob in my react native project for days, i have tried many packages from npm but didn't get any success, i used react-native-admob, @

how expo audio recording extension .mp3

I am using the audio component of Expo and need to export it in MP3 format。encountering such an error Error Domain=NSOSStatusErrorDomain Code=1718449215

React Native Debugger uses wrong version of react-devtools

Trying to debug apps with React Native Debugger. Shows "Unsupported DevTools backend version". How I got here I created a new app using expo init ([email protected]

Flipper React-Navigation when trying to view routes throws error

I'm trying to use Flippers React-Native-Navigation plugin to view some routes and how they act in my app and for some reason the plugin throws this error. TypeE

Unable to reach Expo servers. Cannot Load app onto Phone or simulator when developing in React Native

When loading up my app it says in the command prompt: Unable to reach Expo servers. Falling back to using the cached dependency map (bundledNativeModules.json)