react-native-community / react-native-netinfo listners are not working on...
state = { isConnected: null, }; componentDidMount() { this._netWorkConnection(); } componentWillUnmount() { this._netWorkConnection(); } _netWorkConnection = () => { NetInfo.addEventListener(state...
View ArticleBuilding a very simple mobile application (no mobile dev experience)
I'm quite skilled with Java, Python, C++, etc. but have never done mobile development. I have used React to develop a web application before, however.For a job, as a take-home exercise they have asked...
View ArticleReact Native Navigation Error: The action navigate with payload {"name":...
I am using react-navigation with my React Native application.I keep on getting an error that is supposedly a development-only warning and on't be shown in production.How do I fix the error...
View ArticleI am trying to save images with RNFetchBlob.fs.dirs.CacheDir in android but...
This function I used to save dataasync saveFileInDevice(absolutePath, filename) { images.map(data => { RNFetchBlob.config({ fileCache: true, appendExt: 'png', path: absolutePath +/${filename}.png,...
View ArticleHow to detect application first launch in react native app?
In my scenario, I am having three different screens like Page1, Page2, Page3. Here, if the user last visited page 2 then next time if user open application, instead of showing page1 need to show page2....
View Articleadb.exe: error: closed when i run the react native app
Please provide all the information requested. Issues that do not follow this format are likely to stall.I'm a new in react native so first thing I made is to install react native by running npm install...
View ArticleHow to get current location using react-native-maps
Im trying to render a map at the current user geolocation on android device, using react-native maps.Here is what i've got so far:import React, { Component } from 'react';import { View, StyleSheet,...
View ArticleHow to change picker modal background in android?
I'm trying to change picker modal background to another color it's by default White!I use Picker from "react-native & native-base" but no one works for me!So is there a way to change it - from...
View ArticleAutocomplete at react native is not selecting element on android using...
I'm getting the following warning when running the app on android phone virtualizedlist should never be nested inside plain scrollview with the same orientationusing native-base-autocomplete export...
View ArticleHow to show an incoming call when screen is locked on react-native
I'm developing a video call app with react-native-webrtc and I'm stuck now on how to show the incoming call screen when the phone is locked. I'm working now on the android part and I already tried this...
View ArticleApp faulty on re-opens after minimising with hardware "back" (affects screen,...
Sometimes when re-opening the app, the status bar becomes black and opaque at the top, and the keyboard behaviour with regards to content on-screen stops working. It is as if they've both been set to...
View ArticleContent behind View still tappable on Android in React Native?
Im making an off canvas menu in React Native. When opened I position a View over the rest of the app which is semi-transparent. My code works for iOS and React Native Web, however for Android the...
View ArticleReact Native: using useNativeDriver cause view disappeared
Can someone explain to me behaviour described below:When the component is rendered, I touch black recangle and flag field will be assigned to true, hence orange rectangle become disappeared. Then when...
View Articlereact-native android: How to change the color of ListView "end of scroll"...
How can I change the color of the animation?
View Article"NetworkingError: Network Failure" - AWS SDK for JavaScript in React Native
I'm trying to use the AWS SDK for JavaScript in a React Native application.I created a AWS.Comprehend object and after configuring the credentials and call the detectDominantLanguage method the console...
View ArticleCompatible side by side NDK version was not found React Native
I Have created a blank react native app and added webrtc package and now when I install my react native on my phones ,after installation it gets closed automatically and I don't know why app gets...
View ArticleReact Native problem: WebView has been removed from React Native
I built new React Native project yesterday using react-native-cli.But when running the project with my android phone, I got this error in red screen.Invariant Violation: WebView has been removed from...
View ArticleAudio stops playing after while with expo-av
i want to play a music at background of my app using react-native expo. so i used expo-av components.after running the app, music plays correctly but after while,unreasonable its stops playing just...
View ArticleWhat steps should I follow environment variables in Mac for Android?
I am just starting out in the Mac world and recently joined the developer program.My intention is to terminate an application with React Native. The problem is that I don't know how to configure the...
View ArticleReact Native get value from promises after fetch data finished
I'm trying to get value from another function that call fetch promises but it returned undefined, i think the problem is the result wouldn't wait the process from called function until it done.Here is...
View Article