Category "react-native"

React Native 0.66 - Cant open React-Native-Debugger, Flipper is default

I've upgraded to React Native 0.66. I can open the developer menu but its seems the now flipper is the default choice. I got only "Open Debugger" - which open F

react-native cannot find android studio

It's usual that react-native cannot find android SDK. My problem is different... Android ✓ JDK ✖ Android Studio - Required for building and inst

Flipper debugger error Failed to start flipper-server

It is my first attempt to use the flipper debugger but it doesn't seem to be starting. It threw error Failed to start flipper-server Error: Unable to start ser

npm install Error: rollbackFailedOptional

When I try npm install new packages it shows me this error: rollbackFailedOptional: verb npm-session 585aaecfe5f9a82 node --version 8.4.0 npm --version 5

React native webview copy and download not working

I have built an android app using react native. Inside the app I am using the react-native-webview package to show a React app. import {WebView} from 'react-nat

IPA file made by pipeline is not working in browserstack

When the pipeline finishes building react-native ios app. It creates an artifact IPA file. Usually, it works fine but for several times we get 'app_install_erro

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,