Category "react-native"

Type 'ListRenderItem<IPhotos>' is not assignable to type 'ListRenderItem<unknown>

why I get this error: Type 'ListRenderItem<IPhotos>' is not assignable to type 'ListRenderItem<unknown> Code: import { Dimensions, Image, ListRend

How to use XML response in react-native

I am developing an mobile application by react-native, I have to call a odata service which returns XML and I need to convert that to json object. How should I

React-native: "could not connect to development server"- android app

I am following guide on starting react.js. http://code.tutsplus.com/tutorials/creating-a-dictionary-app-using-react-native-for-android--cms-24969 I installed n

React Native Fullscreen

I am trying to create a simple react native application. I need to run the app in fullscreen mode. Is there a way to do this? I need to remove/hide the bottom

Expo iOS build : ERROR ITMS-90085 when submitting with Transporter app

i built an React Native app with expo which is now online in the Apple App Store. I've tweaked it a bit and came with a new version that i'm trying to upload wi

React native web support

I have project in react native and it was build in iOS and android successfully. I have not used react native cli for that project. Now I have to give support f

How do catch error on React Native SQLite

I have the code: let dirs = RNFetchBlob.fs.dirs RNFetchBlob .config({ fileCache : false, }) //pega o arquivo da internet .fetch('GET', 'https://U

React native init android,ios and app folder missing

Missing android,ios & app folders and index js files I'm using react native v 0.1.10 in windows 7 OS

java.lang.NullPointerException React Native

I've been trying to build my React Native application for release, but I always get this error: FAILURE: Build failed with an exception. * What went wrong: ja

react-navigation swipe to go back doesn't trigger

I am using stack navigation and I want to use swipe to go back. However, even when I swipe the screen all the way to the right the app doesn't navigate to the p

React-Native: Convert image url to base64 string

I'm building a react native app that needs to store images at base64 string format for offline viewing capabilities. What library / function would give me the

React native Wifi list

Is there a way to scan and all get Wifi list using react native for Android and iOS. I have seen a few libraries but mostly for android and even those doesnt wo

React Native Android run causes "Illegal number of arguments for updateHotspot command"

I am creating a simple app using React Native for both iOS and Android. I've tested both platforms for a while and all works very well. But recently, I was focu

React Native: 'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compat

Hello everyone I am trying to create and run a react native app. I run npx react-native init rn4 but when I run npm run android I have this error: > Task :re

Is it possible to capitalize first letter of text/string in react native? How to do it?

I have to capitalize first letter of text that i want to display. I searched for it but i cant found clear thing to do that, also there is no such props for tex

Not getting updated redux-persist state inside React-navigation useFocusEffect hook

I am using react-navigation(5.6.1) with redux-persist(6.0.0) on my react-native project. One of my reducer is persisted(profile). I added a focus event listener

React Native - pod install issue "cannot load such file.......node_modules/react-native/scripts/react_native_pods"

when I have a react native project....and when I run pod install it gives me the following error Invalid `Podfile` file: cannot load such file -- /myPath/node_m

An error occurred while creating the AVD. See idea.log for details. ubuntu 16.04

I followed the the link below, to create a android virtual device(AVD). https://developer.android.com/studio/run/managing-avds.html As soon as I click on fini

How to adjust font size to fit view in React Native for Android?

How I can make the font size of the text auto change inside a view in react native? I have text with different lengths, some of which doesn't fit the view so d

Unsubscribe from watchPositionAsync with useEffect return function

Using react native with expo-location for a mobile app, I would like to unsubscribe from Location.watchPositionAsync which returns a promise with a remove() met