Category "react-native"

How can I render only once an Alert component in react native?

How can I render only one time an Alert component in react native if my dashboardScreen is being render many times? I'm using Context api, if I dispatch an acti

React native - undefined is not an object (evaluating '_bip.default.generateMnemonic')

I'm building a mobile application and I need to generate a passphrase using bip39. At first, when I installed the package from npm I got missing dependencies er

How to read bundled react native code (index.android.bundle)

I've got a decompiled android app which is based on react native. Does anyone know how i can find out where in the code these labels are used or who is referenc

React Native: EventEmitter.removeListener('appStateDidChange', ...) - How to debug this?

I am kinda new to React Native. I get this warning which is really annoying and spamming the console every other second or so. EventEmitter.removeListener('appS

How should I obtain high accuracy using expo location?

I am using expo-location from here As per all the examples I read the following code should do the trick: useEffect(() => { (async () => { let {

TextInput problem Attempt to Invoke virtual method 'boolean abi44.com facebook has State manager

I want to add in my listHeaderComponent a TextInput, but when I add this then I get this error: When I remove the textInput, then I get no error and it works..

react-native start crashes with error npm[11708]: c:\ws\src\util-inl.h:369: Assertion `!(n > 0) || (ret != nullptr)' failed

I am trying run react-native app. when I run npx react-native start server start, displays react logo and crashes with error npm[11708]: c:\ws\src\util-inl.h:36

React Native Image Upload is not working with iOS but works fine with Android

I’m using react-native-image-crop-picker I have upgraded my Flipper for iOS version 0.142 I have upgraded my library as well var body = new FormData();

Mock addListener from navigation in unit test

Used addListener from navigation like this, useEffect(() => { const navigationSubscription = props.navigation.addListener( "willFocus", () => setFo

React Native Stack Traces that point to original files

When I have an error in my React Native app, the stack trace that is printed to the console points to index.bundle instead of the original source code (see exam

How to apply HTML Table in React Native?

What I want is setting all the cells width in a column as widest cell in the column. For example I have a column and there are cells in that column. Cells have

React Native Flipper Debugging Issue : "NO APPLICATION SELECTED"

I have managed to connect a device ( I see logs and see the tree of React Native elements), but now I have an issue with connecting the app - "NO APPLICATION S

react-player: Is there a way to change video resolution with custom controls?

I am working on a custom video player that streams videos from different sources (YouTube, Vimeo, etc.) using react-player, and it already has functioning contr

How to use Payhere authorization flow in @payhere/payhere-mobilesdk-reactnative

@payhere/payhere-mobilesdk-reactnative package only contain these payment methods only. One-time Payment Request Recurring Payment Request Preapproval Request B

React-Native Warning: Overwriting font Family style attribute preprocessor

I'm getting the following warning: "Overwriting font Family style attribute preprocessor" coming out from StyleSheet.js when running the app on iOS simulator. I

react-native-webview Typescript error: 'WebView' cannot be used as a JSX component

I am trying to set up a simple React Native app using Expo with TypeScript that shows a WebView. My App.tsx file contains the following: import Constants from '

@react-native-firebase_app' could not be found in project ':react-native-appgain-sdk-library

Where: Build file '/node_modules/react-native-appgain-sdk-library/android/build.gradle' line: 80 What went wrong: A problem occurred evaluating project ':react-

react native render error (view config getter callback for component 'div'?

I have a problem with react-native. I'm trying exercise to do todo app from how I watch on youtube lessons. Can't understand where is my fault? Youtuber instruc

How to handle versioning with fastlane for iOS/android

digging into fastlane for the first time on a react native project, and in the process of getting a demo version up for internal testing on both the google play

How to change state of child component in react native?

I have a parent component like this: class Parent extends Component { onChangeState=()=>{ //I want to change it here }