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
-
26
votes3
answers10445
viewsReact Native or Ionic?
I need to create an App and would like to know which of your technologies is the most suitable for mobile development today. What is the main difference between Reactnative and Ionic? Which of the…
-
10
votes3
answers537
viewsWhat is Hermes for?
I saw that the Hermes is a javascript engine and that was developed by Facebook for React Native, being recently added to Android on version 0.60.1 and later for iOS on version 0.64.0. But if we had…
-
9
votes1
answer19086
viewsSomeone can explain to me the process of generating an apk in React Native
I can not generate an apk, I follow the steps of the documentation but right away I can not generate the keytool. Can someone explain to me how it is generated?
react-nativeasked 7 years, 10 months ago hudjoubert 109 -
9
votes1
answer636
viewsWhat is the best way to login to the app via facebook and login to a Rest(spring boot) server?
I’m creating an app with React Turn on where I log into facebook and also have information of this user, created after login, on a Rest server that I developed with spring boot. As in the Rest…
-
8
votes1
answer775
viewsHow to have multiple languages in a single application?
Listening to a technology podcast on Nubank, CTO and Principal Engineer comment that they use Java, Kotlin, React Native and Flutter to develop the Android app and everything generates a single…
android react-native software-architecture kotlin flutterasked 5 years, 5 months ago Alisson Marqui 1,128 -
6
votes3
answers6131
viewsHow to Save Data with Asyncstorage
I’m trying to save the mobile data without using a database. I found the AsyncStorage but I’m not able to implement. saveData(){ let usuario = 'Usuario Top'; AsyncStorage.setItem('usuario',…
-
6
votes2
answers5261
viewsWhat are the real differences in creating a project with Expo and without Expo?
Recently I saw several items that differentiated a project with or without Expo, but currently the Expo includes many things where before we needed to touch native modules: Sqlite, image…
-
5
votes1
answer342
viewsReact Native - Listview
Does Reactnative Listview accept an array of arrays ? Because I need to receive the API data as follows :…
-
5
votes1
answer899
viewsReact Native - Schedule Local Notifications
I’m using the library React Native Push Notifications to schedule notifications, but I’m facing a problem I don’t know if it’s possible to resolve with this lib. I have to schedule a notification…
javascript react-native push-notification local-notificationasked 5 years, 5 months ago Vynstus 462 -
5
votes3
answers635
viewsLocal Push Notification iOS
I’m using the lib React-Native-push-notification to schedule notifications in an app,. For Android I am able to create, but the same does not work for iOS. I wonder if you have any alternative to…
-
5
votes1
answer122
viewsWhat is the prop "key" for in React?
When rendering a dynamic list in React or React Native, I receive the following warning: Warning: Each Child in a list should have a Unique "key" prop. Despite this, things seem to work well without…
-
4
votes3
answers1569
viewsCommand suggestions in Vscode
I am programming in React-Native using Visual Studio Code, in the extensions I installed Eslint Javascript (ES6) code snippets jsx React Native tools React-Native/React/Redux snippets for es6/es7…
-
4
votes1
answer1020
viewsInput field with floating label design and mask
In the app I am building I intend to use in a form fields Input styled design Floating label I tested some libraries that have this type of field and considered better the Nativebase.io, however in…
react-nativeasked 7 years, 1 month ago Mateus 977 -
4
votes1
answer2549
viewsHTTP React Native Request
an API sends a status:false the code taken status. While status==false, will be rendered the image of exclamation.png and message 'Pedido em Análise'. Case status change to true both image and…
-
4
votes2
answers115
viewsIntegration between Mailchimp and React Native app
I’m a beginner in React Native. I’m basically trying to accomplish the integration between my application in React Native and Mailchimp, what I want to do is: Once the user provides us with his…
-
4
votes2
answers330
viewsIs it possible to have an app with multiple apps inside?
We are thinking about developing several apps to solve problems, and each app solves the problem of a sector. To avoid the user having to download the apps separately, we thought of making a Bundle…
-
4
votes2
answers516
viewsCan I run a Reactive Native app on Iphone through Windows?
Well, I have an Iphone Xr and I want to develop an app in Reactive Native and test it using my Iphone(by USB, no need for emulators), but my computer is a windows 10, not a mac. Even not being a…
-
4
votes1
answer661
viewsHow to map json entities?
I wanted to know if there is any way to map json objects in React-Native. For example, let’s say I get the following json: { "data": { "lastUpdate": { "name": "Lala" } "dob": "01/01/2001" } } and I…
-
4
votes1
answer207
viewsHow to render the same component several times in React?
I’m trying to make a list with a component being repeated certain times. To be clear, I have a ScrollView and its own component PutANumber. I need the ScrollView has a predefined amount of…
-
3
votes0
answers2629
viewsBackground function with React Native
I have two functions, one that takes the current position of geolocation and the other that performs this function in a given period of time. I have a button that I use to initialize and pause this…
-
3
votes1
answer1374
viewsWhat is the unit of measurement of CSS measures in React-Native
When creating an application I put the buttons by hitting the CSS with the layout, but now I have to create images to put in place of these buttons. That’s when I came up with a big question,…
react-nativeasked 7 years, 1 month ago Mateus 977 -
3
votes1
answer766
viewsDownload file using React Native
I have an Android app that when running accesses a file and lists some information on the screen. The point is, it only works if there’s an Internet. What I need is to download the information and…
-
3
votes2
answers952
viewsReact Native - Navigation + Image
I’m having a hard time solving a problem I’m having using the lib navigation of React. When I open a post, for example, sending it the image parameter, it returns me the following error message. My…
react-nativeasked 6 years, 11 months ago Fernando Dias 63 -
3
votes2
answers604
viewsCommand prompt with React-Native
People progamo em React - Native and every time I access the CMD to run the React I have to do a series of procedures that I will write below Does anyone know any way to create a bat that already…
-
3
votes1
answer111
viewsSlot recognition on the screen
I would like to know how to make my app recognize the famous "Notchs" (screen slots) of mobile phones. Currently I use React Native 0.55.4 in one Windows 10 64 Bits Example of a cell phone with…
react-nativeasked 5 years, 7 months ago Guilherme Campos 31 -
3
votes1
answer2466
viewsWarning: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type `number` supplied to `CellRenderer`, expected `string`
The Error: Warning: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type `number` supplied to `CellRenderer`, expected `string`. in CellRenderer (at…
react-nativeasked 5 years, 11 months ago Gustavo 31 -
3
votes1
answer1001
viewsHow do I update a component and go back to its initial state?
Authentication: It has a login screen produced with native language (React-Native), which when logging into a remote server through a webservice, accessed by an imported component within my app,…
-
3
votes1
answer69
viewsReact Native Hooks
I have these two classes and want to move to two functions without using this. Only with Hoocks(useNavigation). Página Home: import React, { Component } from 'react' import { Text, View,…
-
3
votes1
answer281
viewsHow to use Deep-linking in React Native?
How to pass a URL in this format https://www.google.co.uk/? code=3a549132-8966-4ae1-a951-7e873452df3c&state=febe0bc9-8b38-4a78-a122-7e36c398a14a by the browser in a way that opens the…
react-nativeasked 4 years, 3 months ago João pedro 104 -
3
votes1
answer119
viewsMoment - problem with Timezone
I receive the service date as follows: 2020-11-05T06:15:00.000-03:00 To display to the user we use the library Moment. Example: import React from 'react'; import moment from 'moment'; var chegada =…
-
2
votes0
answers256
viewsMount a javascript ruler with array
I need to assemble a ruler like the drawing. I’m having trouble finding a logic so I’d like a help. Setting: There are two arrays (one with temperature data and the other with pressure data). I need…
-
2
votes1
answer87
viewsButton - Enabled and disabled
I made a form with React Native, but I want the Button to be disabled when the Textinput are empty (unfilled), and when all is completed, the Button is enabled again. How can I do that? You can send…
react-nativeasked 7 years, 11 months ago jvrodriguesx 101 -
2
votes2
answers284
viewsError trying to install Flux Router
I came across a very annoying error when trying to install Flux Router in my app6 folder some suggestion: Note: I’ve already installed two libraries: npm install --save Eslint-config-rallycoding npm…
-
2
votes1
answer209
viewsReact-Enable error after installing lib React-Native-router-Flux
After installing the lib React-Native-router-Flux in my app appeared this error on: I did the procedure of removing the folder…
-
2
votes1
answer848
viewsHow to login with Facebook in React Native in the new format?
I have previously integrated with Facebook in React Native, and for that I changed some lines of code directly in the Android folder of the Application. But in the application I’m doing now I felt a…
-
2
votes1
answer761
viewsHelp with React Activate
Guys I have an annoying error when installing React: ~/MyApp $ react-native run-android Scanning 555 folders for symlinks in /home/henrique/MyApp/node_modules (4ms) Starting JS server... Building…
-
2
votes2
answers68
viewsDoubt of navigation
I created an RN project and within it I created a folder called screens. Inside the folder screens created the files app.js and home.js on index.android.js I only gave one: import App from…
-
2
votes1
answer124
viewsI cannot delete warnings from Eslint
I am learning React-Native, I have never had much experience with Javascript, I have installed the Eslint extension and I am trying to follow the line looking for the best syntax. But there are two…
-
2
votes1
answer71
viewsEslint suggestion in React import
On the line import React, { Component } from 'react'; Eslint marks import and brings the following message: [eslint] Definition for rule 'react/require-extension' was not found…
-
2
votes0
answers100
viewsWhat is the best strategy to update data only when needed?
In an application with React Native, using Redux and Redux-Persist, how best to identify which content needs to be updated? In my case, I have an app that makes some requests at start up. When I…
-
2
votes1
answer346
viewsMove scrollview with React button
i have a scrollview in React Enable, but it moves only with the user’s touch. What method or how could I make it move when I press a button? if you want scrollview code:…
react-nativeasked 6 years, 11 months ago Jiai 21 -
2
votes2
answers990
viewsI can’t change the default React app
I made some changes to the file index.android.js and saved, when running command React-Native run-android, the app remains the same!! The code is like this: var React = require('react'); var Text =…
-
2
votes1
answer1395
viewsHow to send application files to the API
I have an APP in React-Native and an API with Laravel Both are communicating correctly, sending APP data to the API and otherwise correctly Currently to send and receive requests in the APP I use…
-
2
votes1
answer213
viewsProblems returning the address through geolocation
I’m trying to use the library React-Native-geocoder to return the address through the latitude and longitude of the device. In response to another question and some more research, I came to this…
react-nativeasked 7 years ago Mateus 977 -
2
votes1
answer555
viewsError calling more than one function in onPress
I have a Button with a onPress If I put this onPress thus: onPress={() => request.manifestacaoAnonima( this.state.email, this.state.selected, this.state.manifesto, this.state.tipomanifestacao,…
-
2
votes1
answer424
viewsIs it possible to reverse engineer applications in React Native?
I’m working on my TCC and I’m researching reverse engineering, and as I work with React, I was wondering if it’s possible I have an APK get the javascript code from it. I know that using apktool and…
javascript security-guard react-native reverse-engineeringasked 6 years, 3 months ago Raphael Sampaio 21 -
2
votes1
answer1906
viewsPicker synchronized React Native
I have a Json with all the states and cities. I want to do when selecting the state it shows me only the cities related to the state of the selected select. My code prints the cities. with the…
-
2
votes1
answer191
viewsAsync/await javascript
How can I make the code below less messy with asnyc/await? class Backend { getUsers(callback){ const database = firebase.database().ref('users/') const onReceive = (data) => { callback({ data )}…
-
2
votes1
answer372
viewsSeparate JSX from component - React Native
Is there any way in React Native to put the whole JSX in a separate file without risk of decreasing the performance of App? Type the Angular that has a file for the HTML, other to the CSS and…
-
2
votes0
answers566
viewsHow to disable the back button on certain React Navigation routes with React Native
Hi, I’m working with React Navigation and I’m having problems regarding the "back" button on certain screens. My Navigator is as follows: import React from 'react' import { FluidNavigator } from…