Category "react-native"

Remove push notifications token from Expo server

In order to use expo-notifications, I use this approach: -show an onboarding screen where user can accept to receive the notifications -if the user accepted to

Different CodePush options for Staging/Prod

In order to serve updates faster to testers, I would like to use different CodePush options for Staging and Production. For example, in Staging distributions, I

_enzymeAdapterReact.default is not a constructor when test jest

I'm having this issue when test react-native component with jest and enzyme TypeError: _enzymeAdapterReact.default is not a constructor Here is my dev dependen

React Native and WalletConnect (Uncaught Error: null is not an object (evaluating 'RNRandomBytes.seed'))

I want to use WalletConnect on my ReactNative app. As the WalletConnect docs say, I'm using npx rn-nodeify --install --hack (for introducing support for Web3) i

react-native-track-player crashing due to exo player version conflict in track-player and react-native-video

So I am using react-native-video and react-native-track-player parallelly, Normally both are working fine, but to use some extra functionalities of video playe

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