Category "react-native"

React native modal vs react-navigation modal, which is more performant?

As of now, I am using React native modal right now. My modal contains some lightweight animation inside it. Now some questions are poking for a while. Should I

expo run:android is stuck at blank white screen

As seen in the above image, after successfully building for android, the standalone app is installed on the device but when opened, before showing the Splash s

How to prevent VS Code auto importing from 'react-native-web'?

When I type View, I expect VS Code to automatically import { View } from 'react-native'; but what is does is import { View } from 'react-native-web';. The probl

Warning: React does not recognize the `secondaryFill` prop on a DOM element

My code in App.js import * as React from 'react' import { View } from 'react-native' import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome' im

Detox issue on React Native Expo project

When I try to run my E2E test using Detox on my expo project, I got an unknown issue. I have a Input component (@ui-ketten/component) and it's testId is SignUpE

How do you remove/hide the ignore button code-push react-native?

I am new to using code-push for react native app, Everything works okay however I want to hide the Ignore button in the dialog. I dont want the user to ignore a

React Native - How to switch between views efficiently?

I have a couple of Views that render an entire page and I want to switch between them. I could use a screen for each view and navigate between screens but that

Azure AD B2C with React Native Expo

I am new to mobile app development with react-native and expo. I'm trying to add authentication/authorization in my mobile app with Azure AD B2C but I find it m

KeyboardAvoidingViev not working on iOS with react navigation header and material bottom tabs?

You find a minimal repo here and a minimal snack available here. They both show the issue nicely with very minimal code. I found lots of questions online about

How to Check if Axios Call Fails due to No Internet Connection?

I'm trying to figure out an accurate way to detect axios call failure due to no internet connection. Does axios call failure return a specific response object

Clear React Native TextInput

Working through the Redux AddTodo example in React Native. The first AddTodo example below uses state to store the TextInput value and works fine. class AddTod

How to toggle react-navigation if there is two drawer?

I have spent most of the time trying to find out how to toggle right Drawer with react-navigation Ref? currently, it toggles only with left drawer navigationRef

React Native on Android: Cannot run program "node": error=2, No such file or directory

EDIT: I am uncertain which steps I took to resolve this problem, and am no longer seeing this error message so I cannot test the solutions below. Please try the

expo-av Video not showing up on iOS but working on Android

Video and video player is loading fine on Android, but on iOS nothing is rendered. I'm using Video from expo-av. I tried adding height and width to the view , t

ScrollView clips Touchable Opacity with absolute positioning

I am new to React Native with my first project. Currently I am dealing with a problem that my KeyboardAvoidingScrollView clips TouchableOpacity that is being tr

Swipe Gesture not working in React Navigation v6 in IOS build

I am using Expo SDK 43 and React Navigation v6 for my react native app. I have used React Drawer Navigation in my app navigation. In the development mode inside

TypeError: Undefined is not an object (evaluating '_pushNotifications.pushNotifications.configure') React Native

I am new to React Native and am trying to create push notifications on iOS with push-notification-ios and react-native-push-notification. I am following a numbe

in react native im trying to get a svg file from the api but it shows

can anyone tell me how to fixed this issue please,,im trying to get svg images from the api but its not working shows this error... shows this error Error: Expe

Dynamically changing number of columns in React Native Flat List

I have a FlatList where I want to change the number of columns based on orientation. However, I get the red screen when I do this. As per the red screen error m

Axios: chaining multiple API requests

I need to chain a few API requests from the Google Maps API, and I'm trying to do it with Axios. Here is the first request, which is in componentWillMount() a