Category "react-native"

Can log updated value but cant render it with mobx flow

I am trying to make a really simple api call without any logic at all.Althoough I get an illegible object in the consoel called 'proxy' at leaset (not expected

New RN project in M1 mbp built failed. "Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable."

System: OS: macOS 11.3 CPU: (8) arm64 Apple M1 Memory: 124.86 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.0.0 - /opt/homebrew/b

How do I correctly implement Redux Saga action dispatches?

I'm currently playing around with redux saga and I'm having troubles implementing it correctly. Let's say I have a reducer which keeps track of how many times t

Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project

I am working with React Native & I am getting this error: "Requiring module "node_modules/react-native-reanimated/src/Animated.js", which threw an exception

Centered maps while pinch to zoom like Uber in react native

How to do it like a Uber app? <View> <MapView onRegionChangeComplete={(e) => { setLocalLocation({ latitude:

TypeError: undefined is not an object (evaluating 'state.selectedData.push') - Can't add payload to state using Redux Toolkit

I'm having an issue using Redux Toolkit. I want to push an object to my initial state called selectedData which is an array, this gives me the error "TypeError:

React Native gradle executionHistory.bin too big

I've recently upgraded my react-native app to version 0.60.5, as to fulfil App Store requirement of 64-bit app, but I've noticed that the executionHistory.bin f

Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?

This is my babel file My code: import React, { useRef, useState } from 'react' import { View, useWindowDimensions, Button } from 'react-native' import Animated

What is React Native WebView alternative for Capacitor/Angular?

I need to transform WebView component from React Native to Capacitor/Ionic/Angular: <WebView source={{uri: customUri}} /> Is there some similar option

Expo EAS build failing when compiling Expo (Expo Managed app)

I'm trying to compile my React Native app built using Expo (Expo managed workflow), and it keeps failing with this error > Task :expo-application:compileRele

"Task: react-native-admob: compileDebugJavaWithJavac FAILED" is displayed by react-native-admob

I implemented a video ad using react-native-admob. When I built it this morning, the app that should have worked properly suddenly failed to build. > Task :r

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