74 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
56
views
React Native StyleSheet backgroundColor not working in iOS Fabric component
I have a native iOS Fabric component with props extends from ViewProps. My goal is to make this component act as a normal View with some custom logic when drawing, so I override drawRect:
- (void)...
0
votes
0
answers
41
views
react-native-compressor - SSL handshake exception during request
When I try to run 'npx react-native run-android', it throws the error SSL handshake exception during request. Complete stacktrace is as follows:
FAILURE: Build failed with an exception.
* What went ...
0
votes
1
answer
61
views
React Native Component Position
I create a button component in react native. It is on the top side of screen but I want to set it at the end of screen.
<View style={{ marginHorizontal: 52, marginBottom: 23, }}>
...
0
votes
1
answer
501
views
React Native Component moves up with keyboard
I create a custom bottom tab bar and fix it at end of screen using
position: 'absolute', and bottom: 0,.
I also have a textinput for search. When I try to type something in search, keyboard appears ...
1
vote
0
answers
92
views
How to Pass React native components(like View,Button,Text) to native iOS(Objective-c)
I have one View in react native,
Now to I want to pass that View into native iOS, but I don’t know is it possible or not
And if possible how to implement that
I have Implemented some code, Here I ...
0
votes
1
answer
58
views
My text is not being displayed when using props (React Native)
Components file:
function GoalItem(props) {
return(
<Text style={Styles.prop}>{props.text}</Text>
);
}
export default GoalItem;
App file:
<FlatList data={(list)} ...
user avatar
user22736515
0
votes
0
answers
411
views
Bug in React Native app with Native Android Components
I am a beginner and I have been trying to develop a React Native which uses Android native component. As a start, I created a fresh React Project. Then in the directory android/app/src/main/java/com/...
1
vote
0
answers
517
views
How can I retrieve the project directory path and utilise it to display an image in a React Native application?
I have a collection of images located in the assets folder within the Android directory, as depicted in the accompanying screenshot.
I would like to utilise those images without relying on the "...
0
votes
1
answer
38
views
Problem with lining up contents: react native
I'm currently having a problem with the clickable size of a reusable button which includes an icon and text. When I run this code it seems like the entire row becomes clickable when I only want the ...
0
votes
1
answer
237
views
React Native: how to build a list without a defined item size? (Item size depending on the content inside it)
I am developing a feature similar to a comment screen. As we know, comments have different lengths in which often require bigger or lesser space to contain itself inside a list item.
But apparently, ...
2
votes
1
answer
1k
views
React Native Android build failing with 'compileDebugJavaWithJavac' on several packages
I've been working in the same React Native project for months and recently the Android build has started failing. To my knowledge I haven't changed anything about my development environment and I ...
0
votes
1
answer
128
views
How to pass props with value (image index) from component to main view. Building Image gallery in React Native
I an trying to pass the Image index from "Card.js" component to change the background/cover image dinamicaly when the user press the Image from the Array.
In my Card.js I pass the array of ...
0
votes
1
answer
201
views
How to pass the selected date from DateTimePicker component that is encapsulated in Formik in React Native?
I am having trouble passing the selected date in React Native component that is encapsulated with Formik. It seems that the value is not passed even though the field value changed and the console log ...
1
vote
1
answer
634
views
React Native: onPress() is being called infinitely at render of component and won't work when I press the icon
Below Is some of my code. It seems my component is rendering infinitely, and the onPress() function on the icons is being called every time it renders, but won't work when I actually click on the JSX ...
1
vote
2
answers
2k
views
React Native TextInput onFocus does not allow onPress of other child components
Nested TextInput component does not allow other components' onPress function to be called. Only when the TextInput is not focused, the onPress works fine.
React Native Version : 0.66.3
Here is my code
...