Category "react-native"

How to Enable the new LogBox (RN)

I'm trying to enable the new LogBox in React Native (v0.62.0-rc.2), I just have to add a line to the "index.js" file but it doesn't work. RC2 introduces the

React Native Metro bundler resolver issue with json (None of these files exist)

I have monorepo with React code and React Native code. react - common - - file.json ... react-native - App.js In App.js I tried to import json file from react/

How to detect a link in react native textInput and show preview

I'm trying to do something like this in react-native I have a TextInput componet that contain text: "This is a normal text until this google.com link appear, wh

too big and bad quality image uploads from react-native expo

I am building an app where employees should be able to upload pictures for a product catalog for a website. The application is built with expo react-native and

I am facing an error net::ERR_ABORTED 401 (Unauthorized)

In my componentDidMount function I have a problem. I'm facing error 401 in my Reactjs site, my username and password are correct. componentDidMount() { co

Download txt file from text in React Native

I'm trying to Download txt file from a text but that function is not working fine. Txt Function import RNFS from 'react-native-fs'; const txtDownload = () =&

React Native Permission rationale not showing

I'm having a trouble with react native permission rationale. It is not showing though I already put it in my code. const rationale = { title: 'Permission', mess

Failed to auto initialize the Facebook SDKFailed to auto initialize the Facebook SDK

I'm new to mobile development. And while I was developing my app, I got the following error: Failed to auto initialize the Facebook SDK A valid Facebook app id

Why the handleChange of Formik is not working when I set multiple functions?

I have problem on formik, the handleChange of formik is not working properly when I add other function inside the onValueChange. Is there any solutions for this

Can log updated value but cant render it with mobx flow

I am trying to make a really simple api call without any logic at all.Althoough I get an illegible object in the consoel called 'proxy' at leaset (not expected

New RN project in M1 mbp built failed. "Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable."

System: OS: macOS 11.3 CPU: (8) arm64 Apple M1 Memory: 124.86 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.0.0 - /opt/homebrew/b

How do I correctly implement Redux Saga action dispatches?

I'm currently playing around with redux saga and I'm having troubles implementing it correctly. Let's say I have a reducer which keeps track of how many times t

Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project

I am working with React Native & I am getting this error: "Requiring module "node_modules/react-native-reanimated/src/Animated.js", which threw an exception

Centered maps while pinch to zoom like Uber in react native

How to do it like a Uber app? <View> <MapView onRegionChangeComplete={(e) => { setLocalLocation({ latitude:

TypeError: undefined is not an object (evaluating 'state.selectedData.push') - Can't add payload to state using Redux Toolkit

I'm having an issue using Redux Toolkit. I want to push an object to my initial state called selectedData which is an array, this gives me the error "TypeError:

React Native gradle executionHistory.bin too big

I've recently upgraded my react-native app to version 0.60.5, as to fulfil App Store requirement of 64-bit app, but I've noticed that the executionHistory.bin f

Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?

This is my babel file My code: import React, { useRef, useState } from 'react' import { View, useWindowDimensions, Button } from 'react-native' import Animated

What is React Native WebView alternative for Capacitor/Angular?

I need to transform WebView component from React Native to Capacitor/Ionic/Angular: <WebView source={{uri: customUri}} /> Is there some similar option

Expo EAS build failing when compiling Expo (Expo Managed app)

I'm trying to compile my React Native app built using Expo (Expo managed workflow), and it keeps failing with this error > Task :expo-application:compileRele

"Task: react-native-admob: compileDebugJavaWithJavac FAILED" is displayed by react-native-admob

I implemented a video ad using react-native-admob. When I built it this morning, the app that should have worked properly suddenly failed to build. > Task :r