Questions tagged [react-native-reanimated]

469 questions
1
vote
1 answer

React Native Animated. You must specify exactly one property per transform

I get this error trying to translate a View using translateX and translateY ExceptionsManager.js:173 JSON value '( { translateX = 0; translateY = 120; } )' of type NSMutableArray cannot be converted to a CATransform3D. You must specify exactly one…
1
vote
0 answers

Keyboard and Statusbar/Navbar on Android have a issue with RN-reanimated useKeyboardAnimated

When i use library StatusBar for setting statusbar and navigation bar on android, things work perfectly, but there was an issue i just created https://github.com/software-mansion/react-native-reanimated/issues/4555 . So i asking for help, or some…
1
vote
0 answers

React Native Reanimated Measure view flattening

I am aware that there was am issue with view flattening which can be found under this thread https://github.com/software-mansion/react-native-reanimated/issues/3188 but for me measure does not work despite applying props mentioned in the solution. I…
1
vote
1 answer

Pinch to zoom on 2nd image also shows part of 1st image in Swiper

Here is a Swipe component implemented with React native 0,70.1 and react native gesture handler 2.8 and react native reanimated 3.0. What the Swipe does is to allow user to swipe images in a gallery right or left while allowing user to zoom an image…
1
vote
0 answers

React Native Reanimated: How to prevent instant parent resizing during child fade out?

I have a list of Animated.View's placed inside a container component: return ( {items.map(item => ( {item.name} ))} …
Jeff
  • 80
  • 4
1
vote
0 answers

Couldn't determine the version of the native part of Reanimated , Cannot read property 'installCoreFunctions

I am trying to integrate Reanimated 2.0 in iOS React Native project and getting the below error. Once I import reanimated in my code I get this [Reanimated] Couldn't determine the version of the native part of Reanimated. Did you forget to re-build…
1
vote
1 answer

react-native-reanimated v3 crash: Terminating app due to uncaught exception 'NSUnknownKeyException'

after update react-native-reanimated from 2.10.0 to 3.1.0, I got this crash info: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ valueForUndefinedKey:]: this class is not key value…
famfamfam
  • 396
  • 3
  • 8
  • 31
1
vote
1 answer

React Native Reanimated not working in React Native web and throwing module could not parse error when using webpack to run web build

I have existing React-Native app in typescript. In that we are using React-native-reanimated 2.14.4. According to documentation this version has support for web and I have done the configuration as mentioned in official docs. I am using…
1
vote
2 answers

React Native Error - The native part of Reanimated doesn't seem to be initialized

I am working on a new React Native project and am trying to get Drawer Navigation configured in the app. I've followed the installation steps as per the documentation: Installed react-navigation/drawer, react-native-gesture-handler &…
1
vote
0 answers

Error related to Reanimated Plug in + React Native + Visual Studio Code

`Hi, I am working Drawer plug-in in React Native..., Now got stucked with below errors. Added all necessary entries in babel.config.js and even tried reinstalling reanimated-plug in. [Reanimated] The native part of Reanimated doesn't seem to be…
1
vote
0 answers

React native New Arch: Attempt to invoke virtual method 'void com.swmansion.reanimated.NativeProxy.performOperations()'

Upgraded to version: "react-native-reanimated": "^3.0.2" with New Architecture for react native 0.71.3 Getting the issue java.lang.NullPointerException: Here is the complete log: java.lang.NullPointerException: Attempt to invoke virtual method 'void…
Preetika
  • 702
  • 8
  • 21
1
vote
0 answers

How do I rotate a Path around a central point of the Path?

I have the following the code which rotates a shape in RN Skia. I am wondering how I can rotate the shape around the central point of the shape, rather than around the point in the screenshot below. import { Path, Skia, useClockValue, …
jsindos
  • 459
  • 6
  • 22
1
vote
1 answer

Repeat Reanimated Animation without using Web APIs (setInterval)

So I have an animation using React Native Reanimated that repeats every 3 seconds and updates the SharedValue. I have implemented it as shown below using setInterval. const SomeThreshold = 5; useEffect(() => { progress.value = 0; const…
Kartikey
  • 4,516
  • 4
  • 15
  • 40
1
vote
1 answer

React-Native "cannot read property '_isReanimatedSharedValue' of null" with react-native-draggable-flatlist

When I try to use the react-native-draggable-flatlist library, after installing react-native-reanimated, react-native-gesture-handler and react-native-draggable-flatlist, I get this error message "cannot read property '_isReanimatedSharedValue' of…
1
vote
1 answer

How to hide svg with react-native-reanimted when height is collapsing

I'm trying to achieve an animation on blur and focus of TextInput with react-native-reanimated when the keyboard is opening or dismissing, the height will collapse but the problem here is if we have an SVG inside Animated.View it will not collapse…
Hamed
  • 317
  • 1
  • 8