Most voted "react-native" questions
React Native is a framework based on the React library, developed by Facebook engineers that consists of a series of tools that enable the creation of mobile applications with native interfaces for the iOS and Android platform using Javascript.
Learn more…700 questions
Sort by count of
-
0
votes1
answer731
viewsOpen field with value set, but can be edited
I’m using the floatingLabel of Nativebase: <Item floatingLabel> <Label style={{ color: branco }}>Local da ocorrência</Label> <Input multiline={true} numberOfLines={4}…
react-nativeasked 7 years ago Mateus 977 -
0
votes1
answer575
viewsHow does the React-Native cache system work?
The thing is, I’ve created a system that uses a few components Image and upload images from the internet. Only I want the images to appear even when the system is offline. I realized that there is a…
-
0
votes1
answer270
viewsI can’t edit Input content that returns address
Through this code I receive the current address of the device: navigator.geolocation.getCurrentPosition( (position) => { this.setState({ latitude: position.coords.latitude, longitude:…
-
0
votes1
answer107
viewsWidth Percentage Flexbox
I’m having trouble defining items using Flexbox. What I need to do is leave mine item in 90%, I’m currently doing so, but it doesn’t work. <View> <ScrollView horizontal> <View…
-
0
votes1
answer2696
viewsBackend with mysql database and frontend in javascript(React-Native)
I am developing an application in javascript(for android)e I would like to use mysql as database for this application, however I could not use mysql in the same code so I did some searches that…
-
0
votes1
answer170
viewsProblem with installation of the Reactnative-FBSDK package (Authentication via Facebook)
I’m studying the type of authentication in firebase, but I was only able to make work the standard authentication (email/password); I’m having problems to authenticate via Facebook, because the…
react-nativeasked 6 years, 11 months ago tempdev 71 -
0
votes0
answers250
viewsReduce image quality of a URL in React Native
The app that I’m developing, made in React Native, has within it many images from different websites. The problem is that some images are quite large and on bad gadgets it hangs the application in…
react-nativeasked 6 years, 8 months ago Bruno Oliveira 93 -
0
votes1
answer106
viewsStore data on the device
I am developing an APP with React-Native and has a problem that I am looking to solve, I make a communication with an API and it returns me a token for consumption of services when authenticating…
-
0
votes1
answer161
viewsAdjustment with Reactnative layout
I want to make a layout as follows: <ScrollView style={{flexDirection:'row'}]> <View style={{flex:1}}></View> <View style={{flex:1}}></View> <View…
react-nativeasked 6 years, 8 months ago Italo Rodrigo 4,344 -
0
votes1
answer880
viewsHow to Generate iOS App with React Native
Can anyone tell me how the process of generating an iOS app works? Assuming you have the code ready just have to generate the app, I need to have an iMac?
-
0
votes1
answer1400
viewsLocal Storage with React Native
I’m creating an application that needs to store some data locally. These are simple data such as a "Route" path for HTTP request, or a field with a "time" that will be used for the application to do…
react-nativeasked 6 years, 7 months ago Leonardo Paim 1,061 -
0
votes1
answer97
viewsHelp positioning icone/view under image
would like to take a doubt of CSS/HTML,I will start a project in REACT NATIVE, and in the project I came across this layout objective: My doubt is, how can I put the icone (STAR) under the…
-
0
votes1
answer199
viewsReact Native image shadow box
I’m having a hard time putting one shadow in the picture, I tried to put in the View and in the Image but it didn’t work. <View style={styles.ContainerImageProfile}> <Image…
-
0
votes1
answer724
viewsHow to know if constant has a value?
I have the code: import React, { Component } from 'react'; import { ScrollView } from 'react-native'; import { Tile, List, ListItem } from 'react-native-elements'; class UserDetail extends Component…
react-nativeasked 6 years, 10 months ago Italo Rodrigo 4,344 -
0
votes1
answer274
viewsError of Yoganode
Constantly, I’m making the mistake: Cannot add a Child that doesn’t have a Yoganode to a Parent without a Measure Function! (Trying to add a 'Reactrawtextshadownode' to a 'Layoutshadownode') I…
react-nativeasked 6 years, 10 months ago Italo Rodrigo 4,344 -
0
votes1
answer261
viewsTabbar React Native
I’m having trouble positioning a component of tabbar what I’m doing. Home js. import React, {Component} from 'react' import {View, Text, ScrollView} from 'react-native' import Header from…
-
0
votes1
answer411
viewsUse if in onPress event
I’m trying to use a if thus: <Button iconRight={{ name: 'search', type: 'font-awesome' }} title='BUSCAR' buttonStyle={{ marginTop: 15, borderRadius: 7, backgroundColor:'#2C5CAA' }}…
-
0
votes2
answers100
viewsHow to search for a particular package by npm?
I started a project in React and want to know how I search for a certain package installed directly by npm ?
-
0
votes2
answers13140
viewsReact Native - Pass data to another component
I’m having a question, I’m starting with React On and I’m building an app that contains some components and uses React-navigation. The doubt is as follows: From this component that renders several…
-
0
votes1
answer112
viewsProblem with android library REACT-NATIVE
I’m using a library to crop photos in my project, but it only works for android, when I run the app on android it runs normally, but when it runs on Ios, from the error in importing the library,…
-
0
votes0
answers150
viewsDelete child node in firebase with React-Native and Redux
Does anyone know how to delete an item from a Listview in React-Native using firebase as a database? In case I want to delete only the item marked in the print below:…
-
0
votes1
answer1102
viewsHow to close one screen (navigation) in React Native, from another
I need to know how I close the canvases I’ve already opened behind. Like: I’m going A - B - C - D ...when I get to D, I want to go back to A. But, if I press the button to go back on both Android…
-
0
votes1
answer92
viewsReact Native Compile Update
Whenever I execute the command React-Native run-android some components appear in the command prompt that require updating. Like these: :app:mergeDebugAssets UP-TO-DATE :app:generateDebugResValues…
react-nativeasked 6 years, 4 months ago Jhonatan Pereira 537 -
0
votes1
answer178
viewsRun function managed by Redux
My app React Native is managed by Redux. I need to perform the function _verificaLogin() coming by connect automatically when my app is rendering. The way I did it’s not working, I think the props…
-
0
votes1
answer222
viewsError Login Facebook React Native
I’m having trouble doing login in the react-native, I followed all the corresponding steps, and at the time of logar presents the following error cannot read property 'logInWithReadPermissions' of…
-
0
votes1
answer699
viewsthis.setState does not work
Does anyone know why the this.setState(token: token_here) function is not working or returning error ? export default class Init extends Component<Props> { state = { // Evita que o código seja…
-
0
votes3
answers275
viewsNode App React Native Error
I am unable to create new project Whenever I run the command: React-Native init Myproject it cannot complete the creation of the project. Follow picture:…
-
0
votes1
answer8393
viewsPossible Unhandled Promise Rejection Error
I’m having a problem calling one API, and this problem only happens in a certain situation, an example: // Situação que funciona perfeitamente const response = await…
-
0
votes2
answers1031
viewsProblem when rendering image with React Native api wordpress
Speaks beauty guys, I’m doing tests extracting data from a wp api using React I can extract all the data but the image was not successful, I started a short time with React export default class App…
-
0
votes1
answer1966
viewsLine break in placeholder in React-Native textinput
There is the possibility of a line break in the Textinput of the React Enable so that it shows the whole placeholder?
-
0
votes1
answer34
viewsSimple Numbers Format Help
I think my question is silly, but I never got to take that test. has some way to recover the value so 10.90 with zero without using function or replace, I have tried here more unsuccessfully! var…
-
0
votes1
answer225
viewsKeyboard squeezing the components
When I click on Textinput, the images get squeezed: How to correct? import React, { Component } from 'react'; import {Text, View, TouchableHighlight, ImageBackground, TextInput, Image, Picker} from…
react-nativeasked 6 years, 8 months ago Italo Rodrigo 4,344 -
0
votes1
answer132
viewsUpload a local image inside a webview
I have a component WebView who carries a String HTML, the problem is I can’t carry a local image inside that WebView. The image is inside the folder '../img/imagem.png' and when I place this…
-
0
votes2
answers792
viewsI try to install React Navigation and returns a denied permission error
I tried to install the React Navigation module in my project with the following command: npm install --save react-navigation But the following error returns to me: npm ERR! code 1 npm ERR! Command…
-
0
votes1
answer651
viewsReact Native: check which checkbox is selected within a checkbox list
Hello, I have the following problem I have a list of checkbox, and would like to check which checkbox is selected after clicking the button. import React, { Component } from 'react'; import {…
react-nativeasked 6 years, 6 months ago Jacob de Oliveira 301 -
0
votes1
answer137
viewsError when building a project in React-Native
Good evening, I’m having the following error when buildar with React-Native (image). I am using windows 7, managed the project using React-Native init from --version 0.55.4 then I went to the…
react-nativeasked 6 years, 2 months ago Júlio Adolfo Rufino 29 -
0
votes2
answers153
viewsReact-Native incompatibility 0.55.4
react-native init --version 0.55.4 aplicativo I used version 0.55.4 because the current version is giving error 500 npm install firebase --save I used these two commands on the console, and went to…
-
0
votes1
answer502
viewsReact Native Maps
I am trying to implement the React-Native-maps library in my project, when running React-Native run-android I get this error in CMD: * Where: Build file 'C:\Users\Henrique\Documents\New…
-
0
votes1
answer237
viewsReact Native Maps - CSS HELP
I’m trying to get an icon under the mapview in my project, so: But now it’s like this: Code: <View style={styles.viewMaps}> {this.state.ready && this.state.region &&…
-
0
votes1
answer66
viewsUpload app to Apple Store
I’m trying to upload an app to the apple store using Xcode 8, but I get the message that it’s no longer possible to upload to the apple store using Xcode 8. From what I searched, it’s possible to…
-
0
votes1
answer79
viewsReact-navigation v2 how to send Component by params
I’m trying to send a Component to a new route via params, but the way I’m doing it doesn’t work. Can anyone point out my mistake? Component A this.props.navigation.navigate('ModalInput', { input: {…
-
0
votes1
answer116
viewsHow to navigate with React-router-dom when an action occurs
Hello, I’m starting to work with React and I’m doing an integration with Firebase. My problem is this, I can already fire all the actions I need, but when I fire my last action…
-
0
votes0
answers53
viewsChild object appears as 'Undefined', but an object’s previous level shows the value
The field this.props.usuario.user.guia is as undefined, but when I log the object this.props.usuario.user appears with value. It makes no sense to me. Log code: if (!this.props.usuario.logout) { if…
-
0
votes0
answers203
viewsOpen Keyboard in list - React Native
I’m trying to implement a chat in my app, but when I open the keyboard to start a conversation, the conversation is released from the display. Here’s my code and a gif of what’s going on. import…
-
0
votes0
answers143
viewsTag scripts in React
How do I put javascript tags in React? I have this tag to put on a project <script data-cfasync='false' type='text/javascript' src='link'></script> It’s an ad tag. Browser works.…
-
0
votes1
answer28
viewsWhat is the error.code of an invalid email in the case of a user registration in Firebase?
I am creating a user registration panel in firebase with email and password through an application in React-Native, so, at the time of registration, I wanted to check if the e-mail entered is valid.…
-
0
votes1
answer1812
viewsError running Android app - React Native
I created my Android app using React-Native. I can use connecting the phone on the PC or using an emulator. However, when I send the signed version of the application and install it on my phone it…
-
0
votes2
answers852
viewsError running mobile app
When executing react-native run-android gives the following error: FAILURE: Build failed with an Exception. What Went Wrong: Execution failed for task ':app:mergeDebugResources'. Error:…
-
0
votes1
answer1151
viewsHow to generate APK from an Expokit project?
I was with an Expo project, but due to the need to apply payment methods I had to eject the project to have the folders /android and /Ios to edit them directly. I decided to use React-Native-iap, so…
-
0
votes3
answers2202
viewsTest an App on android. React Native
Hello, my laptop doesn’t have the option to activate virtualization, so I need a way to test an app I’m doing. Does anyone know a way for me to do this on my own smartphone?