Category "react-native"

How to add the items from a array of JSON objects to an array in Reducer?

So I am fetching the list of 10 todos from https://jsonplaceholder.typicode.com/todos?_limit=10&page=1 I am updating data with the array of these 10 todos.

React native - Error: Hooks can only be called inside of a function component

I have the following problem in my component "SubmitButton" I want to execute a custom hook by clicking on the button. This hook is called "useLogin". But curre

react-native swipeable gesture not working on android?

I am doing a react native course with Mosh (https://codewithmosh.com/). I am using expo. I am very new to react native and don't really know what I am doing, bu

Reload screen after action - REACT NATIVE

I want to have a screen which contains all my favorite subjects. I have to select these from another screen, with all the subjects. The functionallity behind it

(react redux toolkit) i want to know using action with multiple prameters

i recently started @reduxjs / toolkit. when i see code or documents of this, it not is not worked (undefined...) or too complicated(prepare?? createaciton??). i

Audio Manipulation Library/API react native

Is there a way to combine two tracks into one with a possible overlap? Something like this: http://naomiaro.github.io/waveform-playlist/web-audio-editor.html in

Does a bottom tab need its own separate stack

When navigating to a screen from my second bottom tab(tab2), the app switches to tab1 and then navigates to the screen. When you click on the text to change scr

Error: Requiring module "node_modules\react-native-reanimated\src\Animated.js",

I am trying to use createDrawerNavigator from import { createDrawerNavigator } from '@react-navigation/drawer'; in react native. However, I am getting the error

React native - Which is the best way to compress video before upload to server?

We are using ffmpeg library (https://github.com/tanersener/react-native-ffmpeg) but with large videos this task is taking too long time, up to 4 minutes or more

Cannot find module node_modules\@react-native-community\cli\build\bin.js'

After using expo eject i tried to run my app on android emulator: PS C:\Users\becim\OneDrive\Počítač\test> yarn android yarn run v1.22.5 $ r

Change Button Text in loop using React

Is it possible to change button text that is created using array. If it is possible, what should I do with the onClick function in the button. Here is the sampl

react-native-svg - Marker / Line markerEnd doesn't work on Android

Simply trying to draw an arrow line using the following code import * as React from 'react'; import { Text, View, StyleSheet } from 'react-native'; import Svg,

How to get value from TextInput and set it with Button React Native?

I want to assign the username I get from a TextInput to a username variable via a button and output it in the text below. Meaning, if the user enters the userna

How to hide tabBar in specific Screen in React Navigation 6?

How to hide tabbar in specific screen in react-navigation 6 ... Without changing navigation structure as it's the only option available in the docs here

com.facebook.react.commot.JavascriptException: Invalid or unexpected token

I'm trying to debug my android app with react native v0.66.1 and react native tools v1.8.1 in vsCode. But after running the app and attach to packager, or launc

Display loader before a react-apexchart is displayed

I want to display a loader till my chart is displayed.I have implemented the following code but it doesn't work.The loader should display as soon as "compare" b

How to override react-phone-number-input style?

How can i override the style of the react-phone-number-input component using react-native-phone-number-input ? i tried containerStyle to edit the container styl

react native webview, open google maps URL with the google maps application

In the WebView of my react-native application, I have an embedded google maps url like: <WebView source={{html: `<iframe src="https://www.google.com/ma

Unable to resolve module react-native-blob-util

I'm facing this issue , when we run yarn IOS project - it is building successfully and and installing on simulator , while loading, metro bundler stops at some

AWS Amplify clients always fail to build with Expo

Following the AWS Amplify documentation for Expo with the steps below, building with EAS build fails with [RUN_FASTLANE] › Executing baseline » Bun