Category "react-native"

How to perfectly align different size text in react native

i want to align three text views with different text sizes perfectly to left side, text is now aligned left without any issues but if i use a different text siz

fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported

while pod install am facing issue like [!] Error installing DoubleConversion [!] /usr/bin/git clone https://github.com/google/double-conversion.git /var/folder

Prevent rerender flatlist React Native

I have custom created calendar using Flatlist. In the parent component I have a state with starting date and ending date and Press handler function to update st

react-native-testing-library with typescript does not work

I've tried for days many ways to set up @testing-library/react-native with typescript following a sort of guides but still not able to render a simple component

Accept confirm in Webview React Native

I've a React Native app (with expo) that has a Webview that I used with injectedJavascript to go through a login an do some stuff. The thing is in one part, the

The KeyboardAvoidingView is not behaving the way I want it to

So the code for my login screen is import { StyleSheet, Text, View, StatusBar, SafeAreaView, TextInput, ImageBackground, KeyboardAvoidingView, }

React Native Linking to open Outlook on Inbox screen?

In React Native I can open the Outlook mail client with this (You also need to add ms-outlook to the Info.plist): function openMailClient() { Linking.openURL(

Huawei IAP React Native

I am integrating Huawei in app payment module in my react native application, I have followed all the guidelines for setup. Every thing is going smooth but when

Objects are not valid as a React child (found: [object Error]). If you meant to render a collection of children, use an array instead.]

i think the error is from the checkout screen but i just cant find the '<' which is make believe that the error origin is from node_modules can anyone find t

How to execute onPress on TouchableOpacity react-native using jest and @testing-library/react-native?

I have a component called Header that look like this: import React from 'react' import {StyleSheet, TouchableOpacity, View, StyleProp, ViewStyle} from 'react-na

React Native iOS build fails - Mac M1

I created a react-native project and added Firebase libraries to it. After which when i try npx react-native run-ios the build fails with below message. Compile

react-native-svg - Fill overlapped area of two ellipses

We are using react-native-svg library to draw ellipses having following code <Svg> <Ellipse cx={192} cy={190} rx={50} ry={80} stroke={"red"} stro

Expo + Stripe CardFormField crashes on Android build

I am implementing Stripe in my React Native (Expo) app. When testing it out with ExpoGO it works well, and so does the iOS build via Testflight. However, after

why do I get navigation.dangerouslyGetState isn't a function. when I change from createStackNavigator to createSharedElementStackNavigator

I have nested stack navigator inside tab navigator. but I get the above error when I change createStackNavigator to createSharedElementStackNavigator

Is there any library which can tell current version of the application is installed in users system in RN

So i want to find current version of applications in React-native so, that i can compare with latest version and send update alert to users.

FB_SONARKIT_ENABLED=1 flag not working when initialising Flipper in iOS app (iOS NO APPLICATION SELECTED)

I followed all the steps from: https://fbflipper.com/docs/getting-started/react-native-ios/ (both automatic and manual installation). FB_SONARKIT_ENABLED=1 does

Can I authorize Google maps SDK before deploying an Expo app to Play Store?

I have an Expo app that uses react-native-maps. It works well on Expo Go and I would like to deploy it to Google Play Store. According to Expo documentation, I

RN notifee onBackgroundEvent dosen't called when an action get pressed

I'm using @notifee/react-native & Firebase messaging service to display an incoming call notification on Android that has two actions (accept-call and rejec

How to make alert on click of button

Is there a way to make Alert on click not using the alert method but Alert tag. Currently I tried using usestate but didn’t work

Why does PermissionsAndroid doesn't ask for permission again after denying in react native?

I am using PermissionsAndroid for taking permission from my user but the request popup doesn't show up again if I deny permission once.PermissionsAndroid.RESULT