Category "react-native"

Expo publish fails in github actions but works locally

I am trying to automatically publish my app on expo when pushing on the main branch. When I try locally my app gets published correctly, but the build fails on

ZXingObjC error in React Native, stringByReplacingPercentEscapesUsingEncoding: is deprecated

The build fails because of this error CompileC /var/root/Library/Developer/Xcode/DerivedData/printapp3-bdgcuaoitzijpkgdxzcqqilqaxei/Build/Intermediates.noindex

react native app crashes when tf.ready called

I followed all instructions to install @tensorflow/tfjs-react-native given at https://www.npmjs.com/package/@tensorflow/tfjs-react-native/v/0.3.0 this is my app

React-Native-Web error: rnw_blogpost.bundle.js:1414 Uncaught TypeError: Cannot read properties of undefined (reading 'isBatchingLegacy')

Adding react-native-web package to existing RN app (made with react-native init). Following the setup from this site: https://arry.medium.com/how-to-add-react-

In React Native, I am getting this error "Could not find root view for a given ancestor with tag <no.>"

I was implementing the bottom-tab navigation feature and I am getting this error Could not find root view for a given ancestor with tag number Attaching error

In React Native, I am getting this error "Could not find root view for a given ancestor with tag <no.>"

I was implementing the bottom-tab navigation feature and I am getting this error Could not find root view for a given ancestor with tag number Attaching error

Différence between only one state for variables or state for every one in react

If i'm having 3 variables to handle with useState in react is doing this: const [ user , setUser ] = useState({ name : '', phone : '', age : '' }) setUser({...

pass parameters to a javascript function without using an inline function inside jsx

So after reading a few articles on react native performance, I realized that you're supposed to avoid arrow functions inside JSX. https://blog.codemagic.io/impr

Infinite loading after secure checkout in react-native stripe application

I am using react-native and stripe in my application. Everything works fine till payment and I am getting success message in stripe and funds are transferred pr

Reduce the react native ios/android size folder

Need help to reduce the react-native file size, my repo is getting heavy. cd ios xcodebuild clean cd android ./gradlew clean ./gradlew cleanBuildCache I tried

Month Navigation through increment arrow and decrement arrow in javascript

I want to implement code where the increment or decrement of a arrow happens when I have selected the arrow. I want a replica of a design and implementation of

Take a picture and after successfully receiving a response I we need to call the endpoint - REACT NATIVE

I have a screen where on click on image I need to open camera and take photo, I successfully open camera, take a picture but when I need to call the endpoints i

Cannot find module node_modules\chalk\source'. Please verify that the package.json has a valid "main" entry

I updated node, npm and expo-cli now I'm facing this issue every time i run "Npm start" Cannot find module 'C:\Users\xyz\projects\abc\node_modules\chalk\source'

How to build react native apps specific to an environment in nx.dev

I used nx.dev for my react native application, I have configured the 3 environments. Dev, QA, and Staging. Added productFlavors for the same. ENVFILE=.env.qa &a

React useCallback() not working as expected

I'm trying to understand useCallback() a bit better by creating a simple React app and playing around with it. I tried wrapping handleClick function in useCallb

React Native update component

I'm pretty new to react-native. When I click the stop sleep or info button I send patch requests to the users.json file to change the status. My JSON file conta

Convert a string to number with parseInt does not work as expected [duplicate]

A quick maybe simple question : We are trying to parse a string into number , the sample number is "1928433000460244141" so when we try to par

Null Object Reference: Attempt to invoke virtual method 'booleanabi44_0_0.com.facebook.react.unimanager.FabricViewStateManager.hasStateWrapper()'

my code suddenly stopped working, when I navigate to a login screen the app crashes with this error. although I tested the app yesterday before wrapping up and

which API provide this type of coordinates in mapbox API for the polygen

[enter image description here][1] which API provide this type of coordinates in mapbox API for the polygen [1]: https://i.stack.imgur.com/moiSV.png

VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders

Im working on a react-native project and what I'm trying to do is for the user to have the possibility to select phone numbers in his contact list. When the use