Questions tagged as 'react-native'

2
answers

NPM - command failed: git -c core

Good afternoon I am presented with the following error when trying to install the following: npm install react-native-router-flux     
asked by 07.07.2018 / 05:17
2
answers

Problem with react-native-firebase when running on android

I'm working on react-native, I've installed react-native-firebase , on iOS I had no problem but I'm trying to react -native run-android, and this is the error that returns: I followed all the steps of the documentation, I do not know w...
asked by 09.07.2018 / 16:22
2
answers

Error compiling APK Relase in React Native

I have my project, when running it with react-native run-android everything is fine. But when I generate the APK for production, it sends me an error.    $ ~ ProjectAwesome / android       $ ./gradlew assembleRelease      ...
asked by 20.06.2018 / 17:49
1
answer

Move from one window to another in react native and firebase

My question is how to pass if my form is true with an if this is my code firebase.auth().onAuthStateChanged((user) => { if (user != null) { console.log(user) } }) } signUpUser = (email, password) => { try { if (this.state.password.leng...
asked by 24.05.2018 / 18:10
1
answer

problem with screen positioning when the keyboard is activated with React native

It happens that when the keyboard is activated, it seems to be placed over my view and this hides the input.     
asked by 10.05.2018 / 08:18
1
answer

How to know which route I am with react-navigation in react-native? [closed]

I am using a Rea-navigation StackNavigation in react-native, but I need my header component to be very personalized according to the route, I will place the custom heade component, but I can not get the name of the route I am on or something tha...
asked by 04.05.2018 / 23:49
1
answer

get your own phone number with react-native

Developing my app with react-native , I must obtain the cell phone number in which the app is running. Does anyone have any ideas for that? How would you do it and why?     
asked by 01.05.2018 / 05:39
1
answer

React Native App: proccesReleaseResources failed

Good evening I have a problem with a project in React-native, They will see for some reason when running the project in Genymotion It works perfectly, But when I execute cd android && gradlew assmbleRelease , it throws me the fo...
asked by 10.04.2018 / 04:56
1
answer

Error executing react-native run-android

Try starting a project with react-native init Proyecto and the project is created. But at the moment of executing: react-native run-android throws me these erroes: Any solution? By the way, I use Genymotion to emulate t...
asked by 14.03.2018 / 21:38
1
answer

Possible Unhandled Promise Rejection Type Error Undefined is not an object

I have this code in my React Native project: static async validateSub(sub,pin) { sub_can_access = 'no' url = 'https://server.com/validator.php' let resp = await fetch(url + '?param1='+sub+'&param2='+pin); if (resp._bodyText...
asked by 03.04.2018 / 20:11