Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 11 months ago. Improve this question I’m adding password reset function using react native expo and firebase api. First input is current password. Second input is
Tag: react-native
set value on a click button from a function component to another const component React
All I want here is when I press the search button in Hero.jsx , I set a value to the guest constant in Hotelcards.jsx , any solutions ? the guest value that I wanna set is on this file. Hotelcards.jsx And the button that will trigger the event of changing the value is on this file. Hero.jsx Answer So the
React Native – pass callback to another screen
I have a screen with form. Now in that form there’s a button that opens another screen where user selects the target option and upon selection they’re navigated back to the original form (stack navigator), the reasoning is that user can also create a new option there so they go to the same UI as they would if editing options
Empty image when uploading to presigned AWS S3 url in React Native
I’m trying to upload image to AWS S3 in my React Native(expo managed workflow), but in result the file is empty. I don’t get any errors through the process. I’ve also tried to upload it using Uppy AWS plugin, but result is the same. Here is my code: I am using expo image picker to get the file. I’ve also
How do I fetch Markers around the users location in React Native MapView?
I want to fetch top 5 markers that are closest to the users location (in order) and put that into a useState object. How can I achieve that? My map screen loadflow: Load map Get user location (stored in location useState) HTTP Get request for markers location (each marker got lat and ltd) Fetch markers around user (if agreed to
FlatList conditional rendering if {user === owner || gues}
In my Applikation I render a Expo FlatList to show created Events. If the user has created or joined this event, he should be able to see the images. If not, they should be hidden. I would now store the creator and the guests in the database and would have to compare this with the currentUser from the Firebase Auth
React-Native | Generate a non-repeating (name) generator in React-Native
Hi everyone! I have a question that I hope you can help me with. I just started with React Native and I’m working on a simple name generator. I have an array with different names in it. When I click on the button, a random number is generated. This number is associated with the array’s list of names. This all
Expo Camera Photo Upload To Firebase Storage is undefined – React Native
I am using import { Camera } from ‘expo-camera’; to take pictures. The taken picture is stored in the devicecache. so far so good. Now I am trying to upload this taken images to Google Firebase Storage using import { getStorage, ref, uploadBytes } from “firebase/storage”; The return of doing a photo is: Now I try to upload this like
How to get data without knowing key of json in react native
In response i get this king of data, here in data object there is various items but there key are kind of common so how can i get that data and add in my categories list. here, how i tried to set the data in my list. but when i don’t have the proper name of key then how can
Not getting IntelliSense in Visual Studio Code for React Native
I am trying to code a React Native application in Visual Studio Code. But I found that the hint for React Native for Styles element didn’t show when I code. I already installed: Here is the example when I type flex. It is supposed to show a list of styles element related to flex but it didn’t. Is anyone know