Category "react-native"

react-navigation: How to change tabBar color based on current tab

I'm getting started with react-navigation. How do I change the tabBar background color when I change tab? Here is some pseudo-code showing what I'm hoping for:

Focus Picker component on react native

I have a Picker component as a part of a form on react native. I want to focus the picker when the user click on the submit button on the keyboard just as I can

Android SDK not found for react-native

There are multiple similar questions everywhere across the internet and so far no provided solutions work. I use Android Studio 4.0.0, and maybe this is the pro

React Native render error Value is undefined expected a object

So I dont know why I am getting this weird error and I am unable to find any solution for it so plz help with me Error Code import React, { useRef, useState

nothing happens after react-native run-ios --device in react native

running on my device used to work fine. However, suddenly, when I run react-native run-ios --device, I get to the ending like [[ true != true ]] ** BUILD SUCCE

redux-persist is not saving my redux state when I refresh or close my react-native app

My react-native app is not saving my data using redux toolkit, redux-persist and asyncstorage import AsyncStorage from '@react-native-async-storage/async-storag

React Native Execution optimizations have been disabled for tasks sudden error

So i was creating a react-native app and started working on it and everything is fine but suddenly these errors appeared from no where when i reloaded my app ,

React Native Text Input Auto-Fill Email issues

I am using the React Native Text Input but I am having an issue with the iOS autofill feature when I am using the field for an email entry to sign up a user. I

Could not resolve org.webkit:android-jsc:+

I'm getting an error every time I try to run 'react-native run-android' or './gradlew bundleRelease' for my React Native project. FAILURE: Build failed with an

React Navigation: Is there a way to add another instance of a screen on top of an existing instance of that screen in StackNavigator?

In my React Native app, I have a stack navigator with screens A, B, and C. Screen A displays info on a given user. I want to create a switch user button on scre

jCenter returns 502 Bad Gateway

I am trying to build my project but it seems the jcenter is down. $ cd android $ sudo ./gradlew assembleRelease > Task :app:lintVitalRelease FAILED FAILURE:

Could not connect to React Native development server on Android

When I run react-native run-android, it gives me the following error: Could not connect to development server Package server is running and I can access

On React-native, on Android, canOpenURL fails & OpenURL throw an error: Could not open URL

On a React-Native mobile app Linking.canOpenURL and Linking.openURL fail if the URL refers to an app screen, while it works when referring to an HTTPS URL. I su

React-native animation only running on initial screen render on bottom tabbar

After upgrading react-navigation to v6, my custom animations on tabbar items are only running once (when screen is initially rendered) and I cannot figure out w

Could not determine the dependencies of task ':app:preDebugBuild'. In React Native

What went wrong: Could not determine the dependencies of task ':app:preDebugBuild'. Could not resolve all task dependencies for configuration ':app:debugRuntim

Pod issue -: Nanaimo::Reader::ParseError - [!] Array missing ',' in between objects

I'm getting issue during install pod in react-native project Nanaimo::Reader::ParseError - [!] Array missing ',' in between objects please help me if anyone h

React Native : Error: Duplicate resources - Android

I was trying to create a release apk file from Android but when I create a release apk with PNG image I'm getting Duplicate Resource error. Initially I thought

A blank white screen in the React Navigation. React Native

I have a project on React Native and sometimes when errors occur, the application gets on the wrong route in the React Navigation. Therefore, I get a blank whit

React Native iOS No Bundle URL present but only when using a real device

I am trying to build a project that we have previously built many times on a real device through xcode but not it throws a No Bundle URL present error the momen

Getting an error when trying to deploy a react app to heroku

I'm trying to learn how to deploy a react application to heroku, but I keep getting an error message whenever I do a test run. I've been using the following co