Category "react-native"

React-Native panResponder array with functional component

I have a slider with 6 images and I want to be able to move each one of them using panResponder. I wrote this code (which works, but it moves all the slider, no

how to override drawer navigation?

i'm trying to implement drawer navigation and bottom tab navigation. I used "@react-navigation/drawer": "^6.4.1", "@react-navigation/bottom-tabs": "^6.3.1", fo

Execution failed for task ':react-native-geocoder:verifyReleaseResources'

Hi I am trying create release apk , here I have used react-native-geocode, but while creating build getting bellow error Execution failed for task ':react-nat

How can I initiate user logout after 5 minutes of inactivity?

I am trying to log out and invalidate the user token after 5 minutes of inactivity. When the application is on 'active' stage I am using the react-native-user-

TextInput got hides behind keyboard in react-native

I am creating chat UI in react native in which I want the first section (where the messages are shown) should be scrollable. The TextInput should be at the bott

node_modules/.bin/react-native run-android --no-packager' (error code 101) (error code 303)

I am not able to solve the above error when running Android build by debug config or by command npx react-native run-android. I have checked and Configured the

react native map is not updating custom style directly

I have created a custom map style using react native maps but sometimes it shows a default map for 1-2 seconds then a new style will update. Is there any way we

My Expo App Throws JavascriptException when download from Google Play Store

When I test the app with apk on my android phone it works fine but when I build .aab and submit it to Play Store and download it, It crashes after splash screen

What does mean "export default {}" without name

I found react native module with code like this: export default { activateWithApiKey(apiKey: string) { AppMetrica.activateWithApiKey(apiKey); }

onChange on TextInput Not Working Inside Formik

Generally <TextInput> allows you to type even when you're just specifying a placeholder. However, when using within the Formik form, I am unable to type a

How to run react native on WSL with android emulator on Windows

I have a react native expo project on WSL2 and I need to run it on an android emulator on Windows, and I am also willing to run the project using yarn start. Ho

How to change the background color of the bars in a barchart using react-native-chart-kit

I am using react-native-chart-kit and I am trying to have a cbar chart with any color filling up the bars, as of now it is gray but I am trying to change it bu

TypeError: undefined is not an object (evaluating 'theme.spacing[radius]')

I am using react native elements library to build a UI. I am trying to create a button with an icon. I initially just copied this code from the website without

React Native text string must be rendered within a text

Hello the react native code below takes care of displaying a ui, when I run the code I get the following error? come I solve this? The text it indicates is alre

React Native notification image doesn't showing on IOS

I have currently a problem to display image in notification (with an url). The problem is only on iOS, it works on Android. I'm using React Native Firebase : It

Setting Apollo client header dynamically is not working

I am trying to set the header of Apollo client dynamically according to official doc, but I am getting an error: TypeError: (0 , _apollo.default) is not a

Can I measure my users' internet speed in my react web app?

I built a small react web app and I'm noticing that some users are dropping off constantly. I know that fast.com appears to measure web speed by having the cli

How to refresh JWT token using Apollo and GraphQL

So we're creating a React-Native app using Apollo and GraphQL. I'm using JWT based authentication(when user logs in both an activeToken and refreshToken is crea

Redirect to another screen after login. (React Native)

So I edited this with just one file; everything is there but I still can't seem to make it work. Directory Structure: LoginScreen.js import { StackNavigator,

RNTMap was not found in the UIManager

I am following along the official documentation, copy and pasting the code provided there: https://facebook.github.io/react-native/docs/0.56/native-components-