Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Browsing all 28474 articles
Browse latest View live
↧

How to set ENVFILE in Terminal to generate Android Release APK?

I'm trying to build APK from command line in my React Native project. I've used react-native-config plugin to define my API URLs based on selected environment.When I try to launch the app on emulator...

View Article


The library com.google.firebase:firebase-iid is being requested by various...

I started to get this error today, yesterday everything worked fine, there was no changes in gradle or firebase versionThe library com.google.firebase:firebase-iid is being requested by various other...

View Article


Can't build my android project after move it to another computer

I can't build my android project in react native project, i just used this project in my old computer and it built fine, but after i clone it from my new macbook i get error.i tried to delete the cache...

View Article

Image may be NSFW.
Clik here to view.

Change color of statusBar in splashScreen react-native android

I try to add a splash screen to a RN app. As you can see in the gif the status bar color is changing to black while the splash screen is on, but i can't find the problem exactly. I have followed this...

View Article

Please help, error: Unable to determine the current character, it is not a...

Whenever I run react-native run-android while keeping the emulator running, I get this error. react-native run-ios wroks completely fine.Error: Command failed: ./gradlew app:installDebug...

View Article


Open specific file extention with the app

I have an app that create a custom file, when open the file in the device file manager it should run the app and the file should be copied to the bundle directory. I followed this tutorial:...

View Article

Xcode Conflicting with React Native Module for Android

I'm developing an React Native App for both iOS and Android and I've just finished implementing a React Native Module only for Android. The issue is, when I try to build the app on XCode I get this...

View Article

programmatically retrieve Header component height - React Native

Using NativeBase, I added a Header component. Now, I want to programmatically retrieve the height of the header. How can I do this. The code for adding the Header is given below:I tried using...

View Article


Execution failed for task ':react-native-camera:compileDebugJavaWithJavac'

I am creating app using React-Native and testing it on Android device. After adding react-native-camera module, the following error occurs:org.gradle.api.tasks.TaskExecutionException: Execution failed...

View Article


How can i conditionally add any specific React Package at runtime?

I have a few existing React Packages which are added as library to my current react native app.Now, one of the packages, needs to be added only if certain condition follows:Condition : If...

View Article

Image may be NSFW.
Clik here to view.

IllegalStateExceptioncom.swmansion.gesturehandler.GestureHandler in prepare

I'm facing some random crash in production on Android. Here is the logcat give me that:2019-11-20 15:00:09.752 3248-3248/? E/InputEventReceiver: Exception dispatching input event. 2019-11-20...

View Article

Image may be NSFW.
Clik here to view.

TypeError: null is not an object (evaluating...

I have problem with module 'react-navigation-stack' I've written the same code from https://facebook.github.io/react-native/docs/navigation#react-navigation. Platform: Android. OS: ubuntu import {...

View Article

React Native Facebook SDK Initialization on Android

I am integrating the Faecbook SDK into an existing react-native project and having the dreaded error: The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first.I have...

View Article


React-native use react-native-vector-icons in android module

I'm writing a module for react-native that should run on android, I have to do so to take a react-native-vector-icons and switch it to the module to be able to use them as a Drawable image.To use the...

View Article

React native, detect screen resume

Suppose you navigate like the followingscreen-a (initial) screen-b (push) screen-a (pop) I think in android, we could use onResume of an activity to track the screensIs there something like onResume in...

View Article


How to deploy react-native application from Intellij IDEA (Ultimate) to...

Android SDK emulator is not compatible with Hyper-V (which is required on Windows to run Docker). I have installed Microsoft Emulator instead as I do need Docker as well. When I start the emulator, and...

View Article

USB Camera to conect in android phone

I need the development of an application mobile to take pictures. But the camera is external so that it will be connected by usb cable in the tablet android.What the better technology to create this...

View Article


How do you debug React Native?

How does one debug their React code with React Native while the app is running in app simulator?

View Article

Change package name for Android in React Native

I used react-native init MyApp to initialise a new React Native app. This created among others an Android project with the package com.myapp.What's the best way to change this package name, for example...

View Article

Image using uri as source not shown

I have a react native App which downloads images from external sources and saves them into dedicated local cache folder. Later they get displayed in different views. The images are initially not...

View Article
Browsing all 28474 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>