Category "react-native"

react-native app starting up slowly (ios)

I have a react-native app which is starting up very slowly on IOS (both on simulator and real device). It happens with both the debug build and the release buil

IOS simulator - certificate .pem from cert bot not working - @apollo/client 61: Connection refused

When I try drag&drop my cert.pem generated with certbot then I get this error: One or more parameters passed to a function were not valid. Simulator IOS 15.

How i can limit the items in the FlatList and add load more?

My skills is basic, and i'm newbie in React native, what i want to do is limit the posts in 12 and when the user scroll automatically load more posts. My Code:

How to check the internet connection in react native

I m working on react native project, I m using @react-native-community/netinfo package to check the internet status. It will work to me, but I have a doubt, if

Navigation error: Null is not an object (evaluating '_navigation$getParam.id')

I don't know why my navigation isn't working properly, it throws me the following error every time I want to navigate back to my EventAssistants screen from my

Parsing JSON in React Native

I am currently using Google Firebase Firestore as a REST API. I feel like I am missing something quite basic as I am having a difficult time displaying data. I

Using fastlane match gives me: your developer account needs to be updated

I'm using fastlane in my react native app. I am following the documentation in https://docs.fastlane.tools/getting-started/ios/setup/ and everythinhg works fine

'expo start' or 'npm start' command stuck at ''Starting metro bundler"

I am using react native expo for building mobile app. I followed below steps:- expo init myapp cd myapp expo start After running above 3 commands everything was

React Native Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0

after installing some packages like react-native-safe-area-context or react-native-screen, I always have this problem: can't run the app when I run yarn android

React Native: Phone won't go to sleep while app is open

I'm trying to test some behavior in my React Native app when the phone goes to sleep, but the phone won't sleep when the app is open. I have the auto-lock set t

Modifying back button with react-navigation on specific screen

Here I'm using react-navigation as my navigation library. How can I change the back button (that is added automatically by react-navigation) functionality for a

Leave screen callback React Navigation Tab Navigator

I have a React Navigation Tab Component like this: const RootNavigator=TabNavigator({ Home:{ screen: Home ,navigationOptions:{ tabBarIcon: ({fo

Trying to import realm, but getting error: Missing Realm constructor. Did you run "pod install"? (I'm using windows)

I'm making a mobile application with react native. I want to use Realm (mongodb). So after running: npm install realm realm was correctly added in the "node_mo

Expo - React Native / Firebase app, APK working different than on Expo go app

I have built an app with Expo & firebase and its working with the expo go app. I ran "expo build:android" and got my APK file. The app loads and my Login an

Google sign in with Firebase 09 : signInWithPopup and signInWithRedirect return an undefined error

Here is the authcontext import and code import {signInWithPopup, GoogleAuthProvider, createUserWithEmailAndPassword, getAuth, onAuthStateChanged, signInWithEmai

How to disable emojis button in react native keyboard?

I need to disable emojis for my react native keyboard app. When my keyboard appear, the emoji icon is visible and i need to make it unavailable to prevent user

Detect Swipe direction using React Native Gesture Handler and Reanimated

We have already developed a swiper using React Native PanResponder, (before somebody comment) - we cannot use any other swiper library here. In the swiper we de

Why is my react-native app terminating in the background while recording (iOS, RN 0.63.3, Expo-Av 9.2.3)

Hello I'm having an issue in my React Native app where audio recordings are sometimes mysteriously terminated while the app is in the background. This happens o

How to have a searchbar in "Select" Component native-base

I would love to have a search bar in "Select" component from the library native-base in react-native. I have tried adding a "TextInput" component inside the "Se

react-query how to call mutate from custom useMutation hook in Jest test

I'm running a React Native project where I'm testing custom hooks written with react-query. I'm using Jest, @testing-library/react-hooks and @testing-library/re