Category "react-native"

Axios get request not performing correctly after useEffect cleanup

I am writing an axios get call useEffect that is called whenever a user selects an option from a dropdown menu. It works on getting info on the first time I sel

React native network error (CORS) when using Chrome developer tools but working with react-native-debugger

All requests seem to work when using react native debugger but when attempting to use chrome debugger at http://localhost:8081/debugger-ui/ I get: Access to XML

Expo SecureStore Limitations

I will build an app that will have 2 Features Store a unique secret that will never leave the Device Store a secret that has to be backed up For the first Featu

Expo app - can't load project with message : This is taking much longer than it should

I build my react native app in this way : 1.npm install expo-cli --global. 2.expo init my-new-project. 3.cd my-new-project and expo start --lan. 4. install

React native - disable scrolling in 1 direction

Is there a way to disable one ScrollView in react native (iOS)? I mean i need only to pull down to refresh but, I can also pull up. I want to disable the pull

URLSearchParams with axios instance in react-native

I was attempting to send payload, and URLSearchParams through an API URL from my react-native application. I initialized an axios instance as, import { BASE_URL

(React Native): Execution failed for task ':app:generatePackageList'

I am generating an apk of a project that I developed using React Native. But when I run the command ./gradlew assembleRelease The following error appears: >

material community icons, setting the size causes android to crash?

I have no idea why setting the size like I am on line 38 is causing the android app to crash. If you take the size away, it works perfectly fine. I have all of

How to effectively open downloaded file in external application using expo linking

I'm downloading a file from an URI, and trying to open it in another application. This file is a simple .xlsx spreadsheet. I'm using an Android device to test.

upload image from react native app to symfony backend via axios

I want to upload an image from react native app to backend in symfony via axios. here is the code of the front end : const [pickedImage, setPickedImage] = u

React-Native-Video disables TouchableOpacity in Android

I am working on a react native app which involves a video player (react-native-video), and some simple controls I set up myself. on iOS this works fine, but on

Expo display remaining seconds of audio

I want to display how much seconds are left from the audio. Like this: I know I need to use the positionMillis and thedurationMillis props, but how can I monit

Change border line colors when unfocused (react-native-paper)

I have a textinput that changes color if the conditions are met or not (green to brown and vice versa) when it is focused. I would like the colors to stay the s

React Native Android libc.so crash on first open after installation

Everything is working fine in debug mode. If I uninstall the app and reinstall from an apk, the first time is crashing. When I reopen, starts working fine. Reac

How to set shadows in React Native for android?

Hi am trying to set a shadow for my fab but my attempts has failed so far i tried setting shadow props but that is for ios only so i tried to play with elevatio

How to navigate multiple folders from app.js

I have a file structure like below screens ..components Avatar.js ..Contacts ManageContacts.js ..Login Signup.js I am new to React Native applica

How to prevent re-rendering of components that have not changed?

I have a component that consists of several other components such as text fields, and when an input is made to the text field, all other components are re-rende

Could not resolve all artifacts for configuration ':react-native-safe-area-context:classpath'

I have created a boilerplate react-native application and then trying to add react-navigation to it. However the moment I add dependencies for "react-native-saf

"Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral" issue while installing react native on macOS Big Sur

I was trying to install React Native on my system, and found that it failed to install CocoaPods dependencies which is required by that template error. sudo arc

Can't seem to load custom fonts with Expo's Font.loadAsync

I'm using React Native with Expo, and it is all going well except for this one issue with custom fonts. I have my font Lobster-Regular.ttfin ./assets/fonts, and