Category "react-native"

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

React Material UI Visual Editor

I'm starting an open source project, a visual editor for React Material UI. This is the link to the project. Users will be able to drag and drop material compon

React Native app not sending events to iOS 14.5 users

My react native app is not showing any events in the Facebook Event Manager from iOS 14.5 users. It works fine for Android and iOS 13 users. I have the same iss

Paste from clipboard not working with React Native on iOS simulator

As the title says, I'm working on an app that has an input text and when I tried pasting text I had on the clipboard, it wouldn't do anything, but it shows the

Nextjs: Cant render a component while using map over a array of objects. Objects are not valid as a React child

I dont know why when i want to render a component inside of a map function, basiclly i have a List component, and when i fetch data from an API with the email,

expo props from inner to outer function component

I am using expo 5.3.0 I have two function components component1 and component2. I am rendering one inside another like this <component2> <component

No feedback after pressing React native onPress

I have a button component with a simple onPress const Press = () => { return ( <Button onPress={() => { Alert.

React native html to pdf

I am using this code and it works fine in simulator as I am getting a location and can get pdf file from there async createPDF() { let options = { html