Category "react-native"

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

Execution failed for task ':app:installRelease' react-native

I wanted to create an android apk file in react-native. I followed the instructions as per the link below https://reactnative.dev/docs/signed-apk-android Gene

React Native InitialRouteName

I'm using React Native v5.0 and trying to set a nested navigation for my app, however, the prop "initialRouteName" don't seem to work, even if i set it alone wi

React Native KeyboardAvoidingView covers last text input

I'm using React Native's Keyboard Avoiding View with the behavior set to padding (testing on Android). I have multiple TextInputs on my screen. When I click t

Convert blob to image in React Native?

I have a blob in aws S3: https://s3.us-east-2.amazonaws.com/fakedomain.com/2021-12-23T21%14%05.888Z-blob I'm trying to display it within the card <Card.Cover

Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `TextInput`, expected `string`

in react-native, I have: Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `TextInput`, expected `string`. I have a postalCode an

Reset navigation history to Login screen using react navigation

I would like after Login (Welcome) the user to navigate to Home. I reset the history so the user cannot go back like this: const actionToDispatch = NavigationA

Why <TextInput> cannot be focused when inside an absolute positioned parent container <View> in React Native?

I have a TextInput component that is located inside a View with a style setting of position: "absolute": const [searchTerm, setSearchTerm] = useState('Test');

How to create two columns with space beetwen in react native - flatList

Hi i'm new in React Native. I am trying to create two columns layout with space beetween using react native component called flatList. Here is my view Code:

How to solve (Could not initialize class org.codehaus.groovy.reflection.ReflectionCache) issue in react native

$ npx react-native run-android info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 864 file(s)

configure google admob for expo

I am trying to integrate googles Admob service into my expo initialized react native app via the expo-ads-admob package. the package works successfully in the e

how get parent size in child view in react-native?

I cannot understand how can I send parent view's sizes to child component of this. In renderPager() I want calculate some parameters that depend on parent view

Why this.state is undefined in react native?

I am a complete newbie in react native, react.js, and javascript. I am Android developer so would like to give RN a try. Basically, the difference is in onPre

React Native, content going under navigation header, SafeAreaView not working

As you can see in the image below, I have to give some top margin in order to "not" hide my half of the content under the navigation header, isn't header suppos