Category "react-native"

How to add a comma in array.map after every element except last element in React JSX

How can I add a trailing comma after every element of an array for making a list like: INV, INV, INV, INV Note that the last element doesn't have a trailing c

React native with Asp.net Core photo upload

I want to upload photos with React Native. My API attempt from Postman resulted in a positive. But React Native didn't make it. React Native function upload

React native with Asp.net Core photo upload

I want to upload photos with React Native. My API attempt from Postman resulted in a positive. But React Native didn't make it. React Native function upload

Margin and React Native Paper is not working

I am trying to move the "three-dot" menu to the right side. So I put a {marginLeft: auto} for it. But, it's not moving to the right. What is the problem? Also,

cannot initiate expo bare workflow with typescript

I`m trying to initiate expo bare workflow with typescirpt. But after I type "expo init [project name]" in command window, I cannot find minimal(typescirpt) opti

How to get current location using react-native-maps

Im trying to render a map at the current user geolocation on android device, using react-native maps. Here is what i've got so far: import React, { Component

mixed payload data fields in react signup form

I am really new to react i created a sign up form but when posting data values are mixed I created onchange and onsubmit to track changes and submit the to back

TextInput style is not updating if there is an emoji in text value

TextInput style is not updating if there is an emoji in text value however without emoji the text value color is updating. I would like to know why this issue i

GIFs not animating in the Android version of my React Native app

I am struggling to get my GIFs to animate on the Android version of my RN application. The iOS version is animating the looping GIFs as expected but I only see

How to overlap images in react-native

I'm interested in creating a custom badge on top of an avatar (profile image), except I can't seem to get images to overlap. I tried using a 'translateY' style

ReactNative Flatlist onEndReached not working

Im trying to call a function on onEndReached of a FlatList but it's not working. I'm calling the this.state.pageNo at the end and it's not updating. I want to

React Native Android No such property - logger for class DefaultProjectDescriptor

I am developing my app using React Native and now when I open the android project in Android Studio, during gradle sync it is throwing this error: A problem occ

Multiple projects react-native android build error

Here are the android/build.gradle files contents of two different project. PROJECT 1 ext { buildToolsVersion = "29.0.3" minSdkVersion = 21

React-native-gesture-handler swipeable is not working on Android

Here is my code. App.js import Swipeable from 'react-native-gesture-handler/Swipeable'; const RightActions = () => { return ( <TouchableOpacity o

React native clickable substring inside TextInput

I want a TextInput to be generated where some part of the text is clickable. In particular for iOS. Conceptually something like the following: <TextInput>

Pass Props StackNavigator

i try to pass props on stacknavigator, here my code const MainCart = StackNavigator({ Cart: { screen: CartScreen }, Checkout: { screen:

Bundler does not load automatically (No bundle URL present error)

After updating my React Native app to the latest version up to date (0.60.4), launching my app using react-native run-ios would result in my application startin

Play youtube video in react-native-video

How can i play youtube video on react-native-video, i don't want to play video in react-native-youtube or in webview,

React-Navigation go to same route with different params

I am using a React-Navigation screen with the name "User" to show info about a particular user. When navigating to this route I pass the param "id" which tells

Change the default React Native <Picker> drop-down arrow icon

I want to change its color specifically: <Picker selectedValue={this.state.selected} onValueChange={(value) => this.setState({selected:value})}