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
answer31
viewsProblem with Stack Navigator - React Native
I’m developing an application in React Native and I’m using expo, I’m having problems with Stack Navigator, I’ve reviewed the documentation, I don’t know what else to do. On App.js I have this:…
-
0
votes1
answer25
viewsHow to take the value of a state and send to another page using React-Native?
Good morning, I just created separate component which is a select Picker, its function is to take the values entered in the database and show to the user to select, here is my code. import React,…
react-nativeasked 3 years, 3 months ago user248068 -
0
votes0
answers18
viewsI am unable to render Tabnavigation content
I implemented React Navigaton’s Bottomtabnavigation in one app and it has two tabs: home and about. About.js has content, but it doesn’t appear on the screen, I thought it was behind another…
-
0
votes1
answer9
viewsHow do I update to firebase?
Good night I have a function that registers a request in firebase: async function handleSubmit(){ let endereco = `${route.params?.local.local[0]} ${route.params?.local.local[1]},…
-
0
votes1
answer28
viewsTextinput value does not change - React Native
So I’m taking these values in Asyncstorage and they come from my database, so far so good, I take the const’s and I play in them the values I pulled. but I need to be able to edit this by the text…
-
-1
votes1
answer757
viewsCompile app for Ios made in React in windows environment
I’m studying React Activate and I need to compile an app for android and Ios. I wonder if I can develop everything in windows environment and then just copy the files to a virtual machine running OS…
-
-1
votes1
answer92
viewsProblems when trying to return the api data be in a class
I built an api that returns the units I have registered in a DB but when trying to return these not passing import React, { Component } from 'react'; import axios from 'axios'; const api = { let:…
react-nativeasked 6 years, 11 months ago Mateus 977 -
-1
votes2
answers165
viewsOpen page with information
I have a Flatlist and I want to bring the information that is in a click to open another page. As in the image on each item of the flat I put one TouchableOpacity and has a click action, I want to…
react-nativeasked 6 years, 3 months ago lyestah 1 -
-1
votes1
answer746
viewsUpload Files to React Native
Good afternoon, everyone, I am starting the programming in React-Native and I have a question about using Forms to upload files. It is possible? Thank you.
-
-1
votes2
answers195
viewsHow to make my application in React-Note identify our language?
When I enter a text, e.g.: <Text>Maçã</Text> He doesn’t recognize it! I know it’s the goal utf8, but I don’t know where to insert it! Grateful from now on!…
react-nativeasked 6 years ago Jarbas Bento 3 -
-1
votes1
answer2555
viewsWhat happened and how can I fix it? (React-Native run-android)
FAILURE: Build failed with an Exception. What Went Wrong: Execution failed for task ':app:installDebug'. com.android.Builder.testing.api.Deviceexception: No Connected Devices! Try: Run with…
-
-1
votes1
answer54
viewsClass pass function
I need to use the same button on different pages and with different functions How can I pass the function to the button ? class App extends Component { render(){ return( <View> <Button…
-
-1
votes1
answer72
viewsError loading localhost
When running my React Native code in the Xcode simulator, it returns some error in localhost. But I didn’t touch the code, I just created the project and ran it.…
-
-1
votes2
answers400
viewsJWT TOKEN authentication is not persisting
Well, every time I Reload in my application or open and close it, I have to put the login and password, it could be some error in my code, could someone take a look? 'Cause I need when I open do…
-
-1
votes1
answer2227
viewsGraphics Component for React Native?
Hello I am new in developing with React Native, there is some good graphic component for the platform?
-
-1
votes1
answer1477
viewsPayments in React Native
for in app payments, what is the best solution ? I saw that no operator has React Native files.. I’m trying to create an online store, but I’m stopping by this part. Thank you!!
-
-1
votes1
answer4755
viewsError starting project with React Native Expo
I have version 8.12.0 of Nodejs installed in Debian 9, so I installed Expo with the command npm install -g expo-cli, that at the end returned the following alerts: Ignoring this I created a project…
-
-1
votes1
answer152
viewsError Installing Gradle
Hello guys someone has seen this error when the application tries to install Gradle, be it in android studio, Ionic, React-Native, all give this same error when I try to compile the project Both…
-
-1
votes1
answer531
viewsWhat’s wrong with running the React-Native app?
Hi, I’m trying to run my React app Turn on via command sudo React-Native run-android But always returns me the following error message: FAILURE: Build failed with an exception. * What went wrong:…
-
-1
votes1
answer301
viewsReact-Native start locks in Loading dependency Graph
When I try to give a React-Native start to test my app, it hangs on Loading dependency Graph... and never goes to the "done.". The worst is that it starts to consume all my memory until windows…
-
-1
votes1
answer1360
views'React/Rctbridgedelegate. h' file not found
After creating an React Native project by the "React-Native init project" command and running cmd "React-Native run-Ios" to run the project I got this error "'React/Rctbridgedelegate. h' file not…
-
-1
votes1
answer243
viewsProblem with React Native
I did all the installation of React Native normally, I installed Genymotion to emulate the application, I gave the react-native run-android and the app installed in the emulator normally, but when I…
react-nativeasked 5 years, 3 months ago Niggarilomon 11 -
-1
votes1
answer46
viewsError Installing lib React-navigation-tabs and React-navigation-drawler
After I install the dependencies and import to the project it gives this error :…
react-nativeasked 5 years, 2 months ago Mateus Deliberali 3 -
-1
votes1
answer1274
viewsHow to pass text input value as parameter
export default class Tela1 extends React.Component { constructor ( props){ super ( props); this.state = { username : '', passaword : ' ', } } ComponentDidMount (){ this._loadInitialState().done(); }…
react-nativeasked 5 years, 11 months ago weverton nunes da silva nn 1 -
-1
votes1
answer203
viewsError Yarn / ENOENT: no such file or directory
In the windows environment, when using Yarn to install dependency on a React project, error arises: ENOENT: no such file or directory, open... To resolve, delete node_modules and Yarn.lock, then run…
-
-1
votes1
answer363
viewsHow to check a State to know if it is undefinied in React Native?
I’m using the React-Native-community/React-Nactive-datetimepicker as datepicker in an app, I did a treatment for when they press cancel at the time of the datepicker selection, the date value was…
-
-1
votes1
answer45
viewsKeeping data in the app after updating in the play store
Greetings colleagues, I need a help with a small problem I’m having with an app developed with the expo When we updated the version of our app in the store we changed the architecture of the project…
-
-1
votes2
answers546
viewsDrawer Navigator does not open - React Native Navigation
I’m doing a project in React Native using the React Navigation 3.x and trying to use the Drawer Navigator, I’ve used it on React Navigation 2.7 and it worked perfectly, only now for some reason it…
javascript mobile react-native navigation-drawer react-navigationasked 5 years, 9 months ago Bruno 83 -
-1
votes1
answer355
viewsIs it possible to update a tab with React navigation whenever I access it?
It is possible to update a tab with React navigation whenever I access it? for example I have 2 guides "Home" and "Settings"... If in the home tab I use navigation.Navigator('Settings'), the guide…
-
-1
votes1
answer3323
viewsReact and React-Native array.map
Many collaborators come to ask me how to realize a map in an easy and uncomplicated way and that every time they search on the Internet is around the world. but anyway, come on: I create a state…
-
-1
votes1
answer43
viewsMy Drawer opens but does not display pages, such as displaying my pages in Drawer Navigator (React Native)
I’m using the React Navigation v4. I created an Routes file to redirect my pages. But I have a problem: I created a Drawer Navigator, and it is being displayed, but when it opens, it only shows the…
-
-1
votes1
answer773
viewsAdd Icon with React Activate Material UI Button
I have this button with the icon Tails, but I would like to put the expandmore that has in the ui material, however, when putting it, it does not work, no icon name that has more than one word works…
-
-1
votes1
answer134
viewsCan React Native’s Yellowbox be ignored?
At some points in my application, React has errors in Yellow Box, for example: Each Child in a list should have a Unique "key" prop. I know it’s possible to disable them, but can it cause any…
-
-1
votes1
answer314
viewsEquivalent to NPM I for React Native Expo
When I develop an application that requires Nodejs on site there if I need to go to another location and continue my project I need to give the following command: npm i ou npm install When an…
-
-1
votes2
answers909
viewsSource Problem in React Native
I’m having a load problem with React On, I’ve installed both fonts for my project and it was working fine until I stopped working for a while because of another error. When I returned to try to…
-
-1
votes1
answer39
viewsDisplaying the database error in fetch
Good morning. I want to display the 400 error on front(RN) that back(Node) provides, using fetch. function add(){ fetch(`http://localhost:3000/AOTT7C1TT75a8s5RH1TR/${desc._id}/skaoskao`,{ method:…
-
-1
votes2
answers42
viewsProblems with React-Native
Hello, I was installing the React-Native on my PC, when I went to give "npx React-Native run-android" inside the project folder, it gives an error:…
-
-1
votes1
answer635
viewsReact Native error when running npx React-Native run-android
This error is appearing to me when I use the command npx react-native run-android, how can I solve this? error Failed to install the app. Make sure you have the Android development environment set…
-
-1
votes1
answer736
viewsTypeerror: Cannot read Property 'navigate' of Undefined
I can do the navigation of my page of Main for page Home but I can’t do Home for Athletes, where the configuration ta equals. I’m using a guy in the middle, so it would be from my page Home I call…
-
-1
votes1
answer152
viewsHow to install the React-Navegation library at the prompt?
I’m studying React Native and already have Visual Studio Code installed, in the video class taught the command npx react-navigation but when I use the command the prompt give me the error message…
-
-1
votes1
answer374
viewsTextinput formatting problem in React Native
I have the following React Native component which is a screen to fill in data from an activity: import React, { useState } from 'react'; import { View, Text, TextInput, TouchableOpacity, Switch,…
-
-1
votes1
answer39
viewsProblem trying to open a Drawer Navigator nestled inside another Drawer Navigator - React Native
I have a main screen that contains two Navigators Drawers (one to navigate between the screens and the other to apply a filter to the main screen). Well, each screen has a header that contains the…
-
-1
votes1
answer56
viewsHow to update context value when going back to the React page?
I’m using the context to pass the data to the pages, but when I go back one page and change the value it has in the context, and then go forward to the other page, the page doesn’t update with the…
react-nativeasked 3 years, 11 months ago user2174398 1 -
-1
votes1
answer279
viewsError executing npx command React-Native init
Citation npm ERR! code ENOLOCAL npm ERR! Could not install from "Ricci Appdata Roaming npm-cache_npx 8724" as it does not contain a package.json file. npm ERR! A complete log of this run can be…
-
-1
votes1
answer149
viewsIs it possible to add Expo to an existing project?
I wonder if it is possible to add the Expo to an existing React Native project. In the Expo documentation I only found to create a project from scratch.
-
-1
votes1
answer15
viewsDifferentiate Markers from React-Native-maps that have the same coordinates
I am mounting a map that will draw multiple markers( Marker). However, it is possible that some markers have the same coordinates. Testing the application, I noticed that markers that have the same…
-
-1
votes1
answer30
viewsReact-Native expo how to generate a redirect url with Authsession.startAsync({ authUrl})
import * as AuthSession from 'expo-auth-session'; const response = AuthSession.startAsync({ authUrl:…
-
-1
votes0
answers16
viewsText directing to another screen
I’m developing an app in react-native and he’s exhibiting very strange behavior. I have a component TEXT that receives a value from the database, but when I touch that TEXT he’s calling another…
-
-1
votes1
answer31
viewsHow to create a navigation bar that stays open even when the user leaves the app?
Speak, Glr! I’m a beginner in React Native. I would like to know if it is possible and, if yes, how to create an "options bar" that appears even outside the app, when the user leaves the open window…
-
-1
votes0
answers8
viewsHow do I validate Time with Regex in Reactjs?
Basically I want to do a validation using regex... const regexTime = /([01][0-9]|2[0-3]):[0-5][0-9]/ ...to validate a field when some information is entered