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

react native project doesn't sync on emulating platform after saving files

I have joined a React Native project recently, and have just installed everything to make compiling and testing possible. But I have one problem that my colleague‏‏‏‏s don't have - when I try to save...

View Article


React Native TextInput Comp. Doesn't Work on Specific location in Android

EDITED. So, guys, you told me just write one question at a time. Now I fixed my little bugs but still, I have a bug that's so weird.Now, I can't click on TextInput comp. in android below a specific...

View Article


React native: how to get file size, mime type and extension?

I know react-native-fs and react-native-fetch-blob, but I'm missing simple helper functions like getFileInfo(file).Desired pseudo code:let fileInfo = getFileInfo('path/to/my/file.txt');...

View Article

Recommended .gitignore for react-native

I'm trying out react native and ejected into a full build environment. Sadly, the eject-script did not create a sensible .gitignore file.Not knowing a lot about app-development, I wonder what...

View Article

Image may be NSFW.
Clik here to view.

React Native app crash on start - Android

I have a live react native app which was working fine before I integrate firebase cloud messaging. After integration it started crashing app. After that I removed all firebase integration from app and...

View Article


Deeplink: go-back to browser from myApp, after clicking back-button in...

I am using Android app, which is openned from chrome using Deeplink, 1) Code of AndroidManifest.xml file, which opens myApp(React-Native) when I click deeplink in browser.<intent-filter...

View Article

react-native run-android build successful but Does not work with Access Denied

I'm a developer developing react-native using VSC on Windows. The build succeeds, but it turns out not to runThe react-native run-android command printed BUILD SUCCESSFUL.But unfortunately in the next...

View Article

Error: Actions may not have an undefined "type" property. Have you misspelled...

I cannot for the life of me figure out what I did wrong. I checked out other peoples post that are similar to mine and cant find whats wrong, can somebody help? I only started react and functional...

View Article


Why BroadcastReceiver don't work in React Native?

I try to develop an application that in the future can run a service, the service I want to run when I connect to a network. At the moment I only need the receiver to print in the log (using...

View Article


Image may be NSFW.
Clik here to view.

Java.lang.NoClassDefFoundError: Failed resolution of:...

This is React Native project. I have an error after successful build in Android Studio Emulator: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/FirebaseAppMy...

View Article

What is the best approach to passing data from a notification to the...

I want to implement opening a specific screen when interacting with a Push Notification sent from Firebase. My understanding is that I needed to use was getInitialNotification() function that was...

View Article

You attempted to use a fire base module that's not installed on your android...

I have installed firebase into my react native app, I will need to firebase analytics module.app/build.gradle: implementation 'com.google.firebase:firebase-core:17.2.1' implementation...

View Article

React Native: JAVA_HOME is not set and no 'java' command could be found in...

I've followed step by step the official Getting Started. I started from a clean linux install and installed everything required as per the "Building Projects with Native Code" tab. I have also read the...

View Article


react-native run-android Building Error ':app:generateDebugBuildConfig'

I am having a problem to build a new project. I am using React-Native and Android Emulator (AVD) but when I use the command react-native run-android I get the following message:FAILURE: Build failed...

View Article

How do you run react-native app in production mode?

I thought you could do this with react-native run-android --dev=false, but doing this doesn't stop the developer menu from showing up when I shake the phone and the request url to the packager has...

View Article


production config for android manifestPlaceholders

I am using react native, have a service inject config build.gradle file: manifestPlaceholders = [ APPKEY: "xx", CHANNEL: "xxx" ] I am planing to have two configs, one is for dev and another or...

View Article

react-native: command not found

I am getting -bash: react-native: command not found error while creating react-native project.Below are the additional info1. brew --version homebrew 0.9.9 2 brew info watchman watchman `enter code...

View Article


React-native componentWillUnmount not being called

I'm running on Android and if I used the hardware back button to exit the application the componentWillUnmount function gets called. However, if I use the square button to show the list of running apps...

View Article

React Native: Failed to notify project evaluation listener. >...

I'm getting error when i try to run android code in react native using react-native run-android.I am running code on ubuntu. rahul@rahul-Inspiron-15-3567 ...

View Article

React-native formik form refs are always null

I have a component with an TextInput & Text :const InputWithMessage = ({ label, formikProps, formikKey,ref, ...rest }) => { if (formikProps.touched[formikKey] &&...

View Article
Browsing all 28479 articles
Browse latest View live


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