Category "react-native"

Setting image source to Firebase Storage URL with React Native

So I am trying to set a image source to the download url that I get back from Firebase Storage...the issue is that it is not showing the image but the console a

React Native Android build duplicate error

I have a problem when bundling my android app with Android Studio (with react native). It shows me the following error: [string/CodePushDeploymentKey] /Users/{u

React Native conditional render ImageBackground picture

I am trying to set my image based on if my prop is not null. If my prop is not null I need to show image from a web link. If the prop is null then I need to sho

XCode Simulator Path in XCode 13.2

I tried to download manually the iOS Simulator 15.0 but I don't know where should I put the .dmg file or iPhoneSimulatorSDK15_0.pkg file, Does anyone have any i

React Native FlatList with custom buttons, how to change color on click?

I have created a FlatList that renders names. Each row has its own button. When you click the button, the name is added to a list and the button should change c

How to Use Firebase Phone Authentication without recaptcha in React Native

I want to use firebase phone verification without recaptcha in react native. Below is my code. The code is working properly. But I Don't want to use recaptcha.

How to pass a list with objects from Server to FlatList?

I'm trying to create a FlatList that contains an array with objects that has an array from a server and I can't get it to work. my error message: TypeError: Ca

Why "he" does not write React.FC on each function?

I learn typescript, and I dont understand why he write in the first Function React.FC and in other function he does not write "React.FC". Why? exp: ... const Lo

Running default RN native project in iOS gives error

Any idea what is going wrong? I have updated all the relevant components to their latest version. I am creating a default react-native project and trying to run

Installation of @mauron85/react-native-background-geolocation

I am building a react native app and I have to get user geolocation in background. I have this error when I run npm run android after I installed this library h

React native function return nothing

I'm trying to do something simple here - connect to a sqlite database and return the number of records. In the code below I can output the len variable with co

React native function return nothing

I'm trying to do something simple here - connect to a sqlite database and return the number of records. In the code below I can output the len variable with co

How to simulate android back button in react-native test

In componentDidMount I'm adding a listener to handle Android back navigation and would like to add tests around it's behaviour. How do I firstly test something

React Navigation v5 use custom header

Is it possible to have a custom header if I set the header to be off in React-Navigation V5? I tried to, but the headerLeft and headerRight seems to do nothing,

How to extend React Native View and other components props with styled-components

I'm using styled-components for styling in React Native with Typescript. I created a StyledComponent that styles a View component. However, when I try to extend

React native app : Not authorized to use location services

I'm currently working on a project that uses the geolocation service of my phone. I currently have a prolem with this service, it says that geolocation is not

Calling a function when opening a react-native screen

I'm trying to load a JSON from AsyncStorage every time a user opens one of my react-native screens (I'm using StackNavigator). This JSON contains information on

React Native TextInput flickering on setState

I am building a Currency Input component using React Native TextInput. While the user is typing, the requirement is that the text should always be format in thi

iOS AppDelegate.m: Handling openUrl RCTLinkingManager and Twitter - Duplicate declaration of method 'application:openURL:options:'

I need to add DeepLinking to my React Native app, and as mentioned in docs I need to add the method above @and. // Add this above `@end`: - (BOOL)application:(U

How to overcome ERESOLVE errors within EAS build for native-base and Expo?

I have got the following package.json file. Main purpose is to use Expo 44 with native-base (version ^3.0.0). I could not figure out why such an obvious combina