Category "react-native"

logEvent() is stacked twice in react-native-firebase

I'm using react-native-firebase/analytics@^14.8.0 When the button is touched, logEvent() is generated. When an event is generated and checked in firebase -Debug

Is there a way to handle number inputs instead of string with React Native?

I have a react context state for my multi form input values: const [formValues, setFormValues] = useState({ sex: "male", unitSystem: "metric", hei

react-video-js-player "No compatible source was found for this media"

I am working on a product that takes a file from API and read as a blob. But pressing the play button on the video does not work. I have tried using tried using

How to allow only positive font-scaling in react native Text Component

Android and iOS have OS-Accessibility-Settings for adapted font-sizes. I know, that generally we do not want to block this, however: when a text is fairly large

Jest unable to recognize SVG component

Jest is raising this error on one of my components: Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/fun

how to know if i should use redux for my application or any other alternative?

I am new to react native and mobile development world. I am developing a mobile application with react native, it's basically an entreprise management app for H

Reat Native & RTK Query - Call an other endpoint when request is success

I am new in Redux & RTK Query and I do not understand how I can fetch data from another endpoint when response of another endpoint is succeed. I created an

How to use expo StoreReview.requestReview()

I’m trying to use StoreReview from expo, to ask the user to review the app. I’m trying to understand how the flow should look like. I probably need

React-Native-FBSDK login doesn't return email

I'm trying to use the default <'LoginButton ... > for login in the app through Facebook login, but I can't manage to get the user's email. This is my but

setState inside useEffect doesnt update UI

i am trying to fetch multiple endpoints in UseEffect and depending on it's result show data on the UI (avatar, username, etc.) Problem is, that the data receive

How to use expo StoreReview.requestReview()

I’m trying to use StoreReview from expo, to ask the user to review the app. I’m trying to understand how the flow should look like. I probably need

Else if statement inside return in React Native

I'm newbie in react-native , and I have a problem with how to make else if inside the return, currently I have error which says, and I want to else if the ScanR

Build error of react native run iOS on M1 Macbook

I initialized new react-native project with "react-native init ReactNStudy" for first time on my M1 Silicon Apple computer. Metro builder worked without any pro

Promise allSettled is not a function

I planned updating some Promise.all to Promise.allSettled in my React Native - Expo Project but the function does not Exist. i checked all Versions and everythi

Trying to use GoogleSignIn in React Native then Possible Unhandled Promise Rejection (id: Error: DEVELOPER_ERROR

I've enabled the Google SignIn on Firebase using this link https://rnfirebase.io/auth/social-auth My App compiles fine but when I press the Login button and sel

React native expo grayscale underneath

Is there any way to make grayscale color to all element underneath an overlay view? A look I want to achieve is something like below:

Push notifications sound not coming

I tried to use like below I am using pyfcm to send notifications (https://github.com/olucurious/PyFCM/). push_service = FCMNotification(api_key) push_service

onLoadEnd is not fired in react-native Image

hi am trying to load an remote image. onLoadStart is hitting but not the onLoadEnd ` <View style={{ paddingTop: 60, paddingBottom: 10 }}>

expo map and camera are not working after building apk React Native but working fine during Development and testing

When I’m testing my app inside expo app everything works perfect! But, when i build a android binary using expo build:android the camera and camera roll s

React Native: Change text colour in Paper Button

I am relatively new in react native. I can easily show button (with shadow, etc) as in here. <Button mode="contained" color={'#f08e25'} contentStyl