Category "react-native"

Store redux data that can be accessible with swift and java

I want to rewrite my React Native application with Java for Android and Swift for iOS. The thing is, I don't want to lose application data so that the user has

How to connect to simple tcp socket in React

I am new to React and can't seem to find any example regarding how to create a simple TCP connection to receive data from the other server (NOT via websocket).

Get path of a PHAsset coming from CameraRoll iOS with react native

I'm building a video app uploader using react-native. I encounter a problem with file management from cameraroll. I have video inside my camera roll that i want

react-native run-ios failing with error: The Legacy Build System will be removed in a future release. You can configure the selected build system

react-native run-ios keeps failing with below error,any help will be greatly appreciated react-native run-ios --scheme "xUI" --udid 37C090D5-6637-4C94-9B54-C44

What is wrong with my reselect function ? I dont get an output

I want to use reselect. I want to get my shopping cart by the ids. reselect.ts import { createSelector } from "reselect"; import { RootState } from "../store";

React-native-reanimated not working in web

Currently i`m copied example from this post https://github.com/software-mansion/react-native-reanimated/issues/537 When trying in web Reanimated not working and

How to handle large image in modal (react native android)

I have a modal that a link is passed to for image pinch zoom and it works perfectly on iOS, but apparently android has a limitation with the fresco plugin. I ge

Huge size difference between app bundles build by pure react native & expo bare workflow

I have build two app bundles for same application by pure react native (version 0.66) and expo bare workflow (expo eject, expo version: 42.0.1, react-native ver

React Native run-windows error microsoft.ui.xaml.winmd not found

midlrt : error MIDL1001: [msg]cannot open input file [context]Error opening or processing WinMD d:\Desktop\projects\plenusbusiness\windows\packages\microsoft.ui

pod install error - "Unable to find a specification for `React-RCTActionSheet` depended upon by `RNReanimated`"

I am building this app for Android and Apple TV .The app is working in android but in IOS it gives this strange error. sanjaydas@Sanjays-Mac-mini ios % arch -x8

Image upload in react native Multipart form parse error

I am using react-native-image-crop-picker lib to pick images after that I want to upload that image to server.Api working is validated in postman See screenshot

React Navigation for React Native not navigating - anything missing?

This is my first try on using react navigation, and I did not get it to work out of the first time. I have create another screen called 'First', and declared it

Amplify EAS Metro config migration blockList

When migrating to EAS, I was reading the Migration Docs and saw that EAS builds are requiring the entire defaultConfig from expo/metro-config. I was having a to

Center React Native Paper Modal

I might be missing something small here but I can't seem to get my <Modal> component to center in my React Native app. Here is the code for the modal: ...

How to update scale focal origin with react reanimated and react native gesture handler for iterative pinch gestures?

I built a pinch to zoom effect using react-native-gesture-handler and react-native-reanimated. The user can pinch anywhere on the image and zoom in or out with

Execution flow in react native after navigation.navigate

Need suggestion and advice, I am using the below 2 lines of code in react native expo component, this.props.navigation.navigate("App"); patchUser(this.state.da

Is there a way to override all base defaultProps at once in NativeBase components?

New to NativeBase and using version 3.4.1. We're quickly finding that we prefer the "xl" size for icons and text. Is there an easier way to set all font sizes t

State in useEffect undefined after the useEffect sets the state?

I have a React Native app in which I am running some code that looks like the code below. Why is the following output undefined? Reading someState from useEffec

Can't format Quran page in react native

I am making an app to read Quran, using react native (expo). I am having some problems formatting the text. Problems: Random spacing Text resize automatically T

Getting TypeError: this.InnerNativeModule.configureProps is not a function in expo on mac

I am running an android app that is created using react native expo. It is running fine on windows machine android studio emulator Recently I switched to mac an