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 ArticleThe 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 ArticleCan'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 ArticleChange 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 ArticlePlease 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 ArticleOpen 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 ArticleXcode 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 Articleprogrammatically 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 ArticleExecution 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 ArticleHow 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 ArticleIllegalStateExceptioncom.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 ArticleTypeError: 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 ArticleReact 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 ArticleReact-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 ArticleReact 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 ArticleHow 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 ArticleUSB 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 ArticleHow do you debug React Native?
How does one debug their React code with React Native while the app is running in app simulator?
View ArticleChange 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 ArticleImage 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