Async Storage in React Native showing only first time saved data

I am trying to save data into async storage every time when data in redux store changes, But I am getting an error when I am trying to update user’s Name and saving it then I am able to see the …

I can`t read the data after I update my rules on firestore (React Native)

the rules I set is allow read: if resource.data.uid == request.auth.uid; how I call it is like this return async (dispatch) => { await firebase .firestore() .collection(“…

TypeError: Cannot read property ‘qty’ of undefined. React Native Redux

I try to build an application called Cake Shop to sell and make Cakes, I have a problem reducing the number of cakes in my State, Here is my initial State import { SELL_ONE_CAKE } from “./types&…

How do I display all of the images from my Firebase Storage in React Native without needing image names?

Hello i am trying to figure out how to display all of the images in a folder i have in Firebase Storage called “VerifiedPhotos”. I don’t want to reference them by image name like I did below …

Passing arguments into props react-native?

I’m new to react and am trying to figure out how things like props work. I want to have it so I can pass a function which i know how to do but i want to do it with some argument. I know my switch …

how to filter an nested objects inside an array in javascript

I have the following nested objects in an array and i want to filter the result to return the id of a specific item. const data = [ {0: {id: 1, country: “SA”, address: “IOXX”}}, …

Data not saved with redux react for android

I probably missunderstood how does redux works but my datas are not saved into the store and i quit et re-open the app. Everything works perfectly when i keep my app open (I can add sessions, …

FlatList scrollToIndex out of range

I have a FlatList where I’m trying to scroll through each index of my data array every X amount of seconds. There’s only two items in my array right now but there could be more. The current code works …

React Native ScrollView inside an Animated.View to make Bumble-like swipe system

I’m currently working on a Bumble-like swipe system so I can swipe horizontally (thanks to an Animated.View and a PanResponder so I can move my view wherever I want), and vertically (because my view …

Paginating data causing unusual behavior?

I am displaying “global posts” on one of my tabs. Currently, there are only 11 posts in the database: In the app Some of the posts are being duplicated, and I have no idea why these …