Category "react-native"

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)

react-native-firebase realtime database .ref doesn't work

I can't read or write into my database, so I was trying to figure out the problem. When I run console.log(database().ref("/users/123")); I get "null/users/123"

React native install redux and socket.io?

I am new to react native and I have downloaded a project from github, and I see redux and socket.io in the package.json file, is there any need to install them

sending selected field to another react component

I am receiving my API data in react. I am sending same data to another component to download the excel file. const [data,setData] = useState([]); const fetc

cannot find module '@babel/generator' but it installed

i have " cannot find module '@babel/generator' " error while trying generate signed apk. But i installed this package using yarn add, this is part of my package