Questions tagged as 'react-native'

0
answers

React Native Plugins Mix

I'm developing an app that contains a lower menu using the react- native-material-bottom-navigation , however, I also wanted to use the react-native-off- canvas-menu on one of the lower buttons. From the Off Canvas Menu documentation, it...
asked by 01.07.2018 / 22:52
0
answers

Undefined is not a function (evaluating 'this.state.location.normalize (' NFD ')')

I get the error Undefined is not a function (evaluating 'this.state.location.normalize (' NFD ')') while I'am doing a statement as below: if(this.state.location.normalize('NFD').replace(/[\u0300-\u036f]/g, "").replace(/[^A-Z0-9]+/ig, "_").toLo...
asked by 29.05.2018 / 15:42
1
answer

Shadow box in React Native image

I'm having trouble putting a shadow in the image, I tried to put it in View and Image but it did not work. <View style={styles.ContainerImageProfile}> <Image style={styles.ImageProfile} source={{uri: 'profile....
asked by 10.05.2018 / 00:18
0
answers

use styled-components in a React Native component with a predefined prefix

Hello, I'm starting to work with React and I found the style-components that me allows you to stylize elements in my component and autoprefix. My problem starts from there. I have the following component as an example: NavbarComponent...
asked by 09.05.2018 / 22:49
1
answer

Help icon / view positioning under image

I would like to take a CSS / HTML question, I will start a project in REACT NATIVE, and in the project I came across this layout objective: My question is, how can I put the icon (STAR) under the background image and the view where it i...
asked by 04.05.2018 / 04:39
0
answers

Error accessing object item in React Native

I'm trying to access an object that is returned from my json / api. When I get to the object the return is normal, but when I get to some object item the simulator displays an error. My code that works, returning the complete object: re...
asked by 05.05.2018 / 23:09
0
answers

How to pass State to Header navigation

In the componentWillMount I fill in the arraylist from the Fetch API, and I would like to pass a parameter of that filled arraylist (Ex: name), to the title of the Header (navigation), with that code I am not getting. > import React from 'react...
asked by 05.05.2018 / 06:06
0
answers

ScrollView and ScrollTo - React Native

In my project I have a "Comments" button, and when I click it the expectation is that it will do a "Scroll To" until the comments section of the same page. But the file where the button is located is in different path / file where the comment...
asked by 06.05.2018 / 04:19
0
answers

React Native EXPO

How do I use this in my button? Scheme: tel Open phone app, eg: tel: +123456789 link I tried: <TouchableOpacity style={styles.button} onPress = {() => Linking.openURL('tel:95588877')}> <Icon name="phone" size={30} co...
asked by 06.05.2018 / 18:11
1
answer

incompatibility react-native 0.55.4

react-native init --version 0.55.4 aplicativo I used version 0.55.4 because the current version is giving 500 error npm install firebase --save I used these two commands on the console, and went to the project to put the firebase referenc...
asked by 11.09.2018 / 18:28