Questions tagged as 'react-native'

1
answer

Persist currentbase firebase with React Native

This function is triggered by clicking the Login button: export const loginUser = ({ email, password }) => { return (dispatch) => { dispatch({ type: LOGIN_USER }); firebase.auth().setPersistence(firebase.auth.Auth.Persistence.LOCA...
asked by 27.09.2018 / 00:19
1
answer

Update data automatically in react-native app

Hello, I'm a beginner for react-native, how do I update fields automatically when your API data changes (this change is not done in the app, it just monitors), for example: if there my database I change the name of a product in the react app auto...
asked by 22.09.2018 / 19:00
0
answers

input loses focus when typing

Hello, I'm losing focus when typing any letter in my input Component and your call const RenderInput = this.renderInput; <Field name="email" //component={this.renderInput} component={(props) => <this.renderInput...
asked by 28.09.2018 / 21:03
1
answer

Change variable and save it by AsyncStorage

I am developing an APP that contains several texts, so the font size of the texts are imported from a single variable. I'm trying to add an option to leave the font larger, and save the font size chosen, but, I'm not getting it. Follow the c...
asked by 13.09.2018 / 01:37
1
answer

Uploading Files in React Native

Good afternoon guys, I'm starting programming in react-native and I'm having a question about using forms to upload files. Is it possible? Thank you.     
asked by 01.09.2018 / 18:09
0
answers

How to search for latitude and longitude by city using react-native-geocoding

Hello, I'm trying to return the information of the city, but when I tell you the name of cities, it does not return anything to me ... it only rotunds me when I put names of places like Colosseum ... onPressBuscaLongetudeLatidePorNome = async...
asked by 27.08.2018 / 04:13
1
answer

Error building a project in React-Native

Good night, I'm having the following error when building with react-native. I'm using windows 7, I generated the project using react-native init dacerto --version 0.55.4 Then I went into the project folder and rode react-native run-android...
asked by 03.09.2018 / 04:05
1
answer

Access state of React Native Scrollable Tab View

I have a React Native application with the react-native-scrollable-tab-view library, where this tab view contains 3 child nodes: App.js <ScrollableTabView style={{marginTop: 0, backgroundColor: '#1C4747', }} tabBarU...
asked by 21.08.2018 / 18:49
0
answers

setState is not working properly

Hello, I'm doing an application in reactnative and I'm trying to set a state but it does not work, can you help me? follows the source (obs the handleClickFooter function that does not arrow the state) import React, { Component } from 'react';...
asked by 16.08.2018 / 03:38
0
answers

React Native - Use camera

I would like a help I started a project in which I now need to use the Camera of the mobile. I created the project with create-react-native-app , however I can not find a component or solution using pure JS to use the mobile camera in the...
asked by 14.08.2018 / 15:53