Questions tagged as 'react-native'

1
answer

Problems returning address through geolocation

I'm trying to use the react-native-geocoder library to return the address through the latitude and longitude of the device . By replying to other question and some more research, I came to this code : import React, { Component } from '...
asked by 23.10.2017 / 20:05
1
answer

Sending application files to the API

I have a React-native APP and an API with Laravel The two are communicating correctly, sending APP data to the API and otherwise incorrectly At the moment to send and receive requests in the APP I use axios But now I would like to...
asked by 22.12.2017 / 18:27
2
answers

Error trying to install Router Flux

I came across a very annoying error when trying to install Router Flux in the folder of my app6 some suggestion: Note: I've already installed two libraries:    npm install --save eslint-config-rallycoding npm install --save       react-na...
asked by 03.05.2017 / 21:50
2
answers

doubts about navigation

I created an RN project and inside it I created a folder called screens . Inside the screens folder I've created the app.js and home.js in index.android.js I just gave a: import App from './screens/app'; In app.js I'm using the...
asked by 12.08.2017 / 20:41
2
answers

Background function with React Native

I have two functions, one that takes the current position of the geolocation and another that performs this function in a certain period of time. I have a button that I use to initialize and pause this function, but I would like to run this func...
asked by 30.06.2017 / 22:17
2
answers

Tools for prototype App mobile [closed]

What do you usually use to prototype a mobile app before its development? Even paper, some tool to draw what would be the screens and their navigations, etc.     
asked by 18.08.2017 / 20:08
1
answer

React Native - ListView

Does the ReactNative ListView accept an array of arrays? I need to get the API data as follows: [[{"userId":1,"userName":"Ricardo"},{"userId":1,"userName":"Ricardo"}],[{"userId":1,"userName":"Ricardo"},{"userId":1,"userName":"Ricardo"}]]. I...
asked by 25.07.2016 / 18:52
0
answers

Mounting a javascript rule with array

I need to put a ruler like the drawing. I'm having a hard time finding logic so I'd like some help. Scenery : There are two arrays (one with temperature data and one with pressure data). I need to convert these two arrays into two scales...
asked by 26.07.2016 / 03:23
2
answers

undefined is not an object (evaluating 'RNGestureHandlerModule.State')

I'm trying to start a project with React Native . But when I try to use react-navigation this error appears. App.js:importReactfrom"react"; import { View, Text } from "react-native"; import { createStackNavigator, createAppContainer } fro...
asked by 22.11.2018 / 02:03
1
answer

How do I update a screen variable in React-Native?

I have my following page: import React from 'react'; import { ScrollView, StyleSheet, Text, Button, } from 'react-native'; export default class ArticlesScreen extends React.Component { constructor(props) { super(props);...
asked by 04.10.2018 / 19:32