What is the proper way to store sensitive data in react native app?
the most secure way to save sensitive data such as token or payment information . should I store them in the android AsyncStorage, in the redux-store or shared preferences?
the most secure way to save sensitive data such as token or payment information . should I store them in the android AsyncStorage, in the redux-store or shared preferences?
I have an async function (getDataFromDB) which I run inside of an useEffect. The function gets data from firestore. The problem is I can't set state to data from firebase. I get the reference to data, I can see the…
I am using react-native-paper for SegmentedButtons this is the website link of react-native-paper. react-native-paper I just copy and paste all the code in my Project but It gives me this error Error: Element type is invalid: expected a string (for…
I'm trying to take pictures in foreground service. for example taking pictures when the user is in another program. when we are in the app everything is running fine, But when I close the app while the foreground service is…
I am trying to make an app where the USER_ID is loaded from the device's local storage if found, otherwise, a new id is generated and stored in the local storage. I am trying to make use of React useContext()…
I have a component in my React Native app that displays a list of pending friends. This component makes a GET request to an API to retrieve the list of pending friends and then uses a useEffect hook to map…
I'm a beginner in react native, I'm trying to get user information from mysql database through an axios API get request. Once logged in, I stored email address in AsyncStorage and later want to use that email address from AsyncStorage…
Here my App.js import React, { useEffect } from "react"; import { NavigationContainer } from "@react-navigation/native"; import AuthStore from "./src/stores/AuthStore"; import AuthStackNavigator from "./src/navigation/AuthStackNavigator"; import UnAuthStackNavigator from "./src/navigation/UnAuthStackNavigator"; const App = () => { useEffect(() => { console.log("APP JS", AuthStore.userAuthenticated);…
I m working on an app in which I have FlatList and which contains list of cards. I have survey cards and when user perform any survey I add response of that survey in local DB and updated FlatList. My…
I am using a FlatList which has cards like any social media app. Each card is a sepearte component.And you can add to favourites to every card. When I am updation value for favorites on card the list does not…