Questions tagged as 'react-native'

1
answer

TypeError: Udefined is not a object (evaluating 'this.props.navigation.navigate') problem in react-native

I had a problem executing my code in react-native (I updated the latest version and I thought the problem was not the update) The problem comes from when I import the react-navigation libraries and I want to redirect with an App.js button (mai...
asked by 01.05.2018 / 18:28
0
answers

the image is not displayed on the mobile device in native switch

this is the code of the app.js file: import React, { Component } from 'react'; import { Platform, StyleSheet, Text, View, Image } from 'react-native'; export default class App extends Component<...
asked by 21.10.2017 / 23:25
0
answers

Containers in StackNavigator

A few weeks ago I come with the following question: When creating a Container (using the connect in a component of view to which you want to put a logic using redux) for example a HeaderContainer that has a button that calls a dispatch to do...
asked by 26.09.2017 / 15:43
0
answers

Eslint error property 'artist' does not exist react in visual studio code

I have the error already mentioned    message: 'Property' artist 'does not exist on type' Readonly < {   children ?: ReactNode; } > & Readonly < {} & ';' at: '16, 56 'source:' js' But the project starts normal without problem...
asked by 17.09.2017 / 18:58
2
answers

Error versions com.google.android.gms

apply plugin: "com.android.application" import com.android.build.OutputFile apply from: "../../node_modules/react-native/react.gradle" project.ext.vectoricons = [ iconFontNames: [ 'MaterialIcons.ttf', 'EvilIcons.ttf' ] /...
asked by 03.03.2017 / 18:02
1
answer

I can not update a status with the current page when Navigator executes its pop method

I can not update the status of my App.js with the current page when Navigator executes its pop method in React-Native (0.26). I update the status with the function goto. _goto(currentPage, scene) { this.setState({currentPage});...
asked by 24.05.2016 / 10:13
1
answer

Error SDK Facebook

I am working on android studio, modifying a file of an app that was done in react-native, however when wanting to import facebook sdk I get an error: How can I solve it? this is the code of that part: apply plugin: "com.android.app...
asked by 29.03.2018 / 17:03
1
answer

Error installing React Native

Hi, I'll treat you my problem, I'm trying to install React Native in Ubuntu / Linux GNU, in the documentation it says that it is assumed that you have installed Node JS in your system as they comment here: Assuming that you have installed...
asked by 22.12.2017 / 00:02
1
answer

.Map on React does not work for me

I'm doing an exercise and React is telling me that I have the error in the .map. This is the area where the error occurs, specifically in FourColGrid. Thanks in advance. class Home extends Component{ state ={ movie:[], Hero...
asked by 25.10.2018 / 18:42
1
answer

How to get data with AsyncStorage

In the first HomeCreen component, let's say that I store a string AAA , I press the save button and the text is stored using AsyncStorage. When I click browse, I go to the other component that is similar and, since I have previously stored A...
asked by 18.07.2018 / 23:43