Questions tagged as 'react-native'

2
answers

How to go back scene with cell button

The only way my app has to go back from the scene is by the button I created, when I click the back button on my phone the application closes. Button code I created: <TouchableHighlight underlayColor={'#66CDAA'} onPress={() =>...
asked by 07.06.2017 / 21:44
1
answer

Show data from a 2d array in ReactNative

I have this array, and wanted to show the data contained within it how do I? var questions = [["test ss aa","test asdd as"],["test a","test asxc a"],["test xs aws","test scaca"]] Thank you     
asked by 19.05.2017 / 10:56
3
answers

Attempt to manipulate values of a vector generated by a JSON

I'm trying to "change" values of a received vector from the consumption of a JSON. My logic was to create a for to go through the vector, parse the item on that partition and rewrite it in a copy vector, thus having a vector with the valu...
asked by 08.03.2017 / 00:51
1
answer

How to search for a particular package by npm?

I started a project in React and want to know how I look for a particular package installed directly by npm?     
asked by 11.05.2018 / 21:36
1
answer

REACT-NATIVE ERROR

First of all, I'm starting with react-native now, and I followed a tutorial to configure my development environment (windows), using genymotion , but whenever I create a new project, native init (project) and run with react-native run-android i...
asked by 05.08.2018 / 21:15
1
answer

What happened and how can I solve 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 --stacktrace option to get the stack...
asked by 16.08.2018 / 04:36
1
answer

Problems attempting to return api data being in a class

I built an api that returns me the units that I have registered in a DB but when trying to return these are not reviewing import React, { Component } from 'react'; import axios from 'axios'; const api = { let: units = [], units: () =>...
asked by 11.12.2017 / 17:31
1
answer

How 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 / android and / or ios folders to edit them directly. I decided to use react-native-iap, so I went for an ExpoKit project, as it is...
asked by 03.12.2018 / 03:28
2
answers

Open page with information

I have a FlatList and want to take the information that is in a click to open another page. As in the image in each item of the flat I put a TouchableOpacity and has a click action, I want to open a page with the information that is in th...
asked by 09.08.2018 / 14:06
2
answers

How can I make my React-native application identify our language?

When I insert text, eg: <Text>Maçã</Text> It does not recognize! I know it's the utf8 goal, but I do not know where to insert it! Thank you in advance!     
asked by 15.11.2018 / 08:10