Questions tagged as 'react-native'

2
answers

React delaying when opening graphical dependencies

After executing the commands: react-native init AwesomeProject cd AwesomeProject react-native start In cmd, I can not execute the graphic part of Reactuy-Android You already have Android installed How do I fix this?     
asked by 31.03.2017 / 01:59
1
answer

Canvas issues within a WebView in react native [pending]

Why changing the height > 100 and width > 640 on the canvas inside a WebView in react native, nothing else and drawing? //funciona ... canvas.width = 640; canvas.height = 100; ctx.drawImage(img, 0, 0); ... //não funciona ... canvas....
asked by 10.12.2018 / 02:59
2
answers

I can not save data in the Firebase database - React Native

I can not save data in the Firebase - React Native database. I have already installed and imported Firebase into the project, the code looks like this: componentWillMount(){ var config = { apiKey: "***************************", auth...
asked by 07.12.2018 / 14:50
1
answer

Local data storage with React Native

I'm creating an application that needs to store some data locally Examples are simple data: "DATA"  "Local"  "Humidity" etc. As a reference it would be something like having a data file or rather a "localhost" database where I would sav...
asked by 11.12.2018 / 17:01
1
answer

Black screen in android emulator

I'm trying to start the emulator by android studio and genymotion but in the two it gets a black screen in the emulator: It may be my graphics card that sucks, but would it have some way to fix it? Or some other decent emulator for and...
asked by 03.12.2018 / 15:07
1
answer

How to pass this.state from one screen to another screen with React Native

I'm new to React Native , what I want to do is to get a this.state of screen1 for example and use it on screen2 to print this same this.state . I made a very grotesque example to try to explain: import React, { Component } f...
asked by 30.10.2018 / 12:22
1
answer

Import style react native

Is it possible to import a style from another directory in the import of react native? I tried something similar to what is done in require to change the directory with "../" but without success.     
asked by 02.08.2018 / 15:42
1
answer

Picker does not select manually

I have this PickerUF component, which displays the list of states. import React, { Component } from "react"; import { StyleSheet, Platform } from "react-native"; import { Picker } from 'native-base' export default class PickerUF extends Comp...
asked by 17.04.2018 / 12:21
1
answer

Is there any way to get what the user is listening to?

I would like to know if you have some way or even a lib so that I can get the information of the audio player of the phone, such as song duration, name, album etc. with the react native.     
asked by 02.01.2018 / 19:27