react-native-reanimated-v2 Questions

2

Solved

I've spent the last day trying to find out how to implement a simple fade screen transition with react-navigation but I cannot find one way to make it work with a bottom-tab-navigator. Can someone ...

29

How can I solve this error? Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin? This is my babel.config.js file : module.exports = { presets: ['module:m...
Nett asked 16/4, 2021 at 18:46

3

Solved

I've been using TouchableOpacity for ease of use in my react native project, but I'm interested in trying the new Pressable component instead - given how flexible its API is. However, while the new...
Heatstroke asked 3/11, 2021 at 16:2

3

Solved

How do i trigger a useEffect based on a sharedValue from the Reanimated libary? const sharedValue = useSharedValue(0); useEffect(() => { console.log("exectue functions"); }, [share...

8

Please I am facing this error currently in my expo app, is there anyone that can help please, I just upgrade our app to expo / SDK 46.0.0, React native 0.69.6, and I was forced to upgrade to reanim...
Jestude asked 12/10, 2022 at 9:19

10

TypeError: global.__reanimatedWorkletInit is not a function. (In 'global.__reanimatedWorkletInit(_f)', 'global.__reanimatedWorkletInit' is undefined) I am using React Native (not Expo), and I don'...

1

I'm facing this issue Package react-native-screens has been ignored because it contains invalid configuration. Reason: "dependency.platforms.android.componentDescriptors" is not allowed ...

5

Solved

Using react-native-reanimated, I'm trying to repeat infinitely an animation which is also a repeated animation, with a delay. With my code, the delay and the nested repeat animation are triggered b...

8

Solved

I am trying to use createDrawerNavigator via import { createDrawerNavigator } from '@react-navigation/drawer'; in React Native. However, I am getting the error below, which I don't know how to s...
Childish asked 29/12, 2021 at 7:39

1

What I want I'm trying to animate the react navigation native stack header by changing the background from a transparent to a gray color when the user scrolls down. I was reading the documentation ...

2

Solved

I've been using the library to create bottom sheet modals for my react native app, but it's doesn't seem to work on Android, but on iOS it does. I used the same backdrop component and handle compon...

6

I already upgraded react-native from version 0.64.1 to 0.65.0-rc.3 because targetSdk=30 is required to publish a bundle to Google Play from 1st august 21. I was upgrading letter to letter using upg...

0

My React Native expo application crashing without any error when call function() in withTiming() callback Example : const whenFinishFunction = () => { // do some thing }; const [animation...

2

I am using react-native-gesture-handler and react-native-reanimated package to animate a View in react native. The scale of the view should increase on tap and the backgroundColor should change to ...

1

Solved

Using PanGestureHandler from react-native-gesture-handler with react-native-reanimated with useAnimatedGestureHandler throws this error. Expected onGestureHandlerEvent listener to be a function, i...

2

I'm trying to use https://docs.swmansion.com/react-native-reanimated/docs/api/LayoutAnimations/entryAnimations From the documentation it seems pretty simple but when I run the code below nothing ha...
Sherman asked 25/11, 2021 at 15:46

2

What I have Done to cause the Error: I have a freshly installed Bare React Native Project . I wanted to use Drawer Navigation and had to install React Native Reanimated 2.3.0-alpha.2 . what I have ...

1

What is the most reliable way to get the absolute position on screen of any element? I have the problem that when an element above (parent) is added with my methods I can not get the absolute posit...
Pasture asked 1/12, 2021 at 11:19
1

© 2022 - 2024 — McMap. All rights reserved.