How to make Victory Native chart have more natural scrolling
I have a basic bar graph chart that allows panning. The only problem is there is no momentum scrolling. In other words, when you scroll and release your finger, it stops scrolling immediately, which is...
View ArticleReact Native Typescript, pass variable to another screen
I cant seem to figure how to pass variable with typescript in react native, I have tried the params but its saying undefined is not an object (evaluating 'navigation.props.value').below are the...
View ArticleReact Native Document Picker Android 7 crash
I have a problem with react-native-document-picker library (v.8.1.3) and Android 7, React Native version 0.63.5.When I try to launch the plugin to open system folders and pick a file, I get this error....
View ArticleIs there a clean way to call an external sdk with Java files in React Native?
I have a React Native cli project for an Android app. I want to use a java sdk to call some functions from there for my Android app. Since this is an sdk that changes I don't want to change the java...
View ArticleSpecify exact type of functional component as prop in React Native
I want to achieve a simple (?) task. I want to create my custom functional component that accepts two components as params: a Text and a Button. I need that exactly those types are passed, so if I'll...
View ArticleAxios request only work with react-native-debugger
I'm working on a tablet application where I need to fetch some data on the first page. When testing the route with Insomnia/Postman and when making that request by the app on a simulated device, with...
View ArticleWhat url should I provide to Matomo for an app?
So I am trying to implement Matomo tracker on my react native app. I should open an Matomo account before, but it requires an website url. What url should I provide since I want to implement it on an...
View ArticleReact Native (expo-image-picker) image upload to backend does not work
I'm trying to upload an image to NestJs backend(backend uses multer) from React Native Frontend(Redux), using axios but it doesn't work and there are no logs from backend. I have tried formData.append...
View Articlehow can I add a pay button that can clean everything and a checkout? [closed]
[[5[67](https://i.stack.imgur.com/piYJ0.png)](https://i.stack.imgur.com/UMEhC.png)1[2[34](https://i.stack.imgur.com/VUnq7.png)](https://i.stack.imgur.com/6LKZw.png)](https://i.stack.imgur.com/dxmrI.png)
View ArticleHow to properly use unions with route params for react-navigation-v6 in...
When using react-navigation-v6 with Typescript, I've been encountering ts-lint errors such as this one: Property 'variable' does not exist on type 'Readonly<{ variable1: string; } | { variable2:...
View ArticleReact Native TabView not working after generating an apk
I am using a TabView from react-native-tab-view, it works fine when when I am running my application with expo and scan the QR Code with my android device, but when I generate an apk and open the...
View ArticleReactNative Button onPress target getAttribute not accessible in TypeScript
I use TypeScript in ReactNative to access Button target.getAttribute("data-code") but getAttribute is not accessible in onPress event. How can I reference target type? I googled around the internet but...
View Articlereact native navigation does not navigate to desired screen on button press
I have a main navigator and two navigators nested in it: Auth Navigator and a Root navigator that renders a different screen depending on whether a user exists or not. But It returns this error when I...
View ArticleReactNative extended button props undefined
I try extend a Button component with a signature attribute to store specific data and add Button specific parameter to fetch. Why event.currentTarget.props is undefined?import React from 'react';import...
View Articlehow can I scroll up to see a section with a button? react native & typescript
I want a button to be able to scroll to a section where I have some questions, right now I have this code and if I click the button it doesn't do anything, it doesn't scroll, what am I doing wrong?I...
View ArticleError: While resolving module, the Haste package was found. the module could...
I am trying the new arch of react native. I have enabled it in my gradle.properties file. This error is for android only and I have not tried iOS yet.I am following the exact sample of Calculator...
View ArticleReact Navigation: How to create a reusable NavButton with type checks
I'm building a React Native app with Typescript and I'm fairly new to Typescript for React Navigation. I'm trying to simply create a reusable NavButton that can be used like this:<NavButton...
View Articlewhy my react native become .tsx instead .js
so after installing react native using npx react-native init MyProject the project is running and open in emulator but the app file is not app.js instead app.tsx,file strcutureThe question is i am new...
View Articlereact-native: problem when scrolling in horizontal flatlist
I have a horizontal flatlist to render categories the problem is when scrolling the flatlist breaks and get reset as described blow:flat list code:<View...
View ArticleJavaScript/TypeScript - Callback not removed, why?
Colleagues, I can prove with logs that removing listener in some public component does not work. First, I see the listener is still called, second, I never see second console output, which puzzles me...
View Article