Category "react-native"

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

how to style children elements in react native?

is there a way to select children of the element I am styling in react native? css example of what I am trying to achieve: div > *

I am getting an error in my npm when trying to install expo-cli globally

When I try to install npm globally, using the command npm install -g expo-cli I am getting an error that says npm install -g expo-cli npm ERR! code ERR_OSSL_U

Top tab navigator failing (React navigation 6)

I am just having an issue with exporting the navigator. I have a Stack navigator where I am nesting also a Drawer navigator and now I want to do the same with T

React Native iOS build failed at AppCenter

Our React Native iOS project has been working well with AppCenter build. But when we pushed certain changes, although it still works well locally, the build at

React native wont run after ejecting from expo

I developed an app using the managed expo workflow, however it's required to use a native apis (in this case WebRTC) and therefore I ran expo eject to switch to

How to remove Async storage warning from react native

Dependencies i used "dependencies": { "@react-native-async-storage/async-storage": "^1.16.1", "@react-native-community/netinfo": "^8.1.0", "@react-navigation/bo

React Native map with Google API, Search bar is not compactable with screen width

This is the code for React Native Map using Google Map's API. import React, { useEffect, useState } from 'react'; import { PermissionsAndroid, StyleSheet, View,

How to add random minutes like first slots should be 30 minutes and then 1 of 15 minute slot and again 30 minute slot

const eventClick = (args) => { let StartTime = moment(args?.event?.StartTime, 'HH:mm ') let EndTime = moment(args?.event?.EndTime, 'HH:mm ') if (