Category "react-native"

fetch API always returns {"_U": 0, "_V": 0, "_W": null, "_X": null}

The below code always return the below wired object {"_U": 0, "_V": 0, "_W": null, "_X": null} as response. Here is my code getData = () => { f

Caching images in expo is thowing Failed to load assets error in production

This is my code to cache all the images in my local folder. I'm prefetching all the images and after that resolving the promise. But this always results in "Fa

Caching images in expo is thowing Failed to load assets error in production

This is my code to cache all the images in my local folder. I'm prefetching all the images and after that resolving the promise. But this always results in "Fa

How to Bring button (which opens modal) on top of modal as well? React native

I am using react-native-modal. I am using modal's overlay, and the button which opens up modal, changes to cross button, but it stays behind the overlay of moda

How to find equivalent text in another with aggregated text?

Given: const textToFind = 'Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, ' const paragraph = 'Lorem Ipsum has been the

React Native Expo: Barcodescanner camera doesn't rotate when i press the rotate button

I'm using React Native Expo. Currently i'm trying to make an application which uses a barcodescanner for scanning QR-code objects. I've implemented a turn camer

Gradle Daemon could not be reused

I am trying to run a react native project but I see an error saying "Starting a Gradle Daemon, 14 busy and 1 incompatible and 2 stopped Daemons could not be reu

React native (expo) have a different navigation bar color for each page (on Android)

Android phones that have a navigation bar like that from the iPhone, have the default background color as white, which looks really off if my screen's backgroun

react-native-swiper next/previous button event

The swiper index value comes out in order of page order. However, when the button is pressed, the index value goes up to infinity. ex) next button click-> 6

How to check internet connection in React Native application for both iOS and Android?

I have a React Native application and I'm seeking to add functionality that checks if there is an active internet connection when the app first starts up, and c

Type error in getting route params within nested navigator using Typescript [react-navigation v6]

Having a navigation type definition as bellow, when I navigate from e.g AOne to BTwo with id:99 the console log of props.route.params shows correct info. But p

Can't find variable: IDBIndex on firebase/react native(expo)

I am developing a RN app in Expo with firebase as backend. So far, the app only uses firebase auth and firestore and for whatever reason, I randomly started get

Debugging in Visual Studio Code?

I followed the instructions for debugging in VSCode as per https://github.com/Microsoft/vscode-react-native I attached my Nexus 6P with USB cable with my MBP2

React Native Axios get response Skipped and Status Code 0

I got a problem with my react native app. while accessing API, I get a response Skipped and status code 0. it's shown by using reactotron to log the api respons

Expo build:web builds huge bundle and slow website with bad performance

The bundle size produced by expo build:web is huge at average 3mb. I completed steps at https://docs.expo.io/guides/web-performance/. My app has no images so no

Usage of WebView in Typescript template of react native

I am trying to use WebView in the react native boilerplate (template: typescript). I am using WebView from react-native-webview library. /** * Sample React

react native access content:// uri fails

Working with the following react native packages in android: "react-native": "0.47.2" "react-native-document-picker": "2.0.0" (removing the ovveride to compile

Expo: Get audio data realtime and send via Socket.IO

App I want to make I would like to make audio recognition mobile app like Shazam with Expo Expo AV(https://docs.expo.io/versions/latest/sdk/audio) Tensorflow se

App build with eas build crashes on start

I have a react-native app, I'm trying to test my app on ios&android ( testflight and playstore), app was build using eas build, but app crashes suddenly on

React Native + Expo + Axios file upload not working because axios is not sending the form data to the server

I am trying to upload an image with react native front end and axios to my back end. This is how pic the image const pickImage = async () => { let result