Questions tagged [react-native-0.46]

11 questions
10
votes
3 answers

How to install flow type correctly for react native@0.46+?

I've googled many sites but cannot found a tutorial that actually works for react-native + flow type. There was flow installation guide from react-native@0.22 document, but it's gone in react-native@0.46. However, it comes up again in Running Tests…
Val
  • 21,938
  • 10
  • 68
  • 86
5
votes
5 answers

How to multiple TextInput handle with single handler?

I have create common class for TextInput and use it multiple time but its event handle with same method. i want to handle array data after filled the data in textInput. Here Added multiple textField and single handleAddMore. How to identify which…
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
4
votes
2 answers

Make shared component with calling navigation.navigate() inside - React Native

I want to make shared component for all screen in react native. So I can share them between main components. See my code below, everything works but the this.props.navigation.navigation.navigate('HireJob') not working. MyCode : export default…
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
4
votes
2 answers

How To Add More component dynamically React Native

I want to add more components after clicking on the button. Can you share code or an idea so that I can implement? As the image shows, every time when user click on the add button, one row / component will be added.
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
3
votes
1 answer

Hide and Show View With Animation in React Native v0.46.

Friends, I have issue to hide and show view in react native. I have do the folloing code. Want to hide and show view with animation. Please help me. Code : import React, { Component } from "react"; import { AppRegistry, Image, View, Text, …
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
2
votes
1 answer

How To Disable PanResponder on Child Component - React Native

Friend I will take oneView of Parents and Inside the View I take one TouchableOpacity. I Will Added panResponder on main View, And when touch of main view its working fine. But TouchableOpacity is not working, I want to remove panResponder on…
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
1
vote
1 answer

Performance issue - Loading Too Much Time MapView and High resolution image - React Native

Performance issue : Without the image and mapView, push one view to another. it's working fine and very fast. but I will added high resolution image and MapView in the render() function. it's take time to load. Please what is best solution to load…
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
1
vote
1 answer

React Native - CameraRoll got issue undefined is not an object

I used react-native-image-picker for fetch image form camera and photo library. i follow the steps to and link react-native-image-picker in xcode. I will code also to open imagePicker. but have an error. Note : I will used 0.46 for react native.…
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
0
votes
2 answers

Component doesn't update the value after call webService in React Native

I Called the GET webService in React Native, Its get Successfully response. But I want to set this response in Component. its means according to response the component doesn't update. See my code. GET REQUEST : makeRemoteRequest = () => { …
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
0
votes
1 answer

TabBar inSide the StackNavigation in React Native

I will take StackNavigation for Push and Pop with its parameter. Its Working fine. But Now I want to implement after some screen TabBar after StackNavigation, Have any Idea How to Take TabBar after StackNavigation. Note : I want to implement Custom…
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112
0
votes
2 answers

React Native - Push one Screen To Another have issue

I used the 'StackNavigator', I have issue to push when navigation code write in button event. but its working fine if we directly code onPress event, Import file. import { StackNavigator } from "react-navigation"; import SignUpScreen from…
Kirit Modi
  • 23,155
  • 15
  • 89
  • 112