Questions tagged [react-native-reanimated]

469 questions
2
votes
2 answers

When I upgrade my React native project to version 0.69.0 I got this type of error

After upgrading my react native project to version 0.69.0, I am getting this error
user18628737
2
votes
1 answer

What is the proper way to animate an array of objects with react-native-reanimated, considering a sub-component is not an option?

I am trying to use the react-native-reanimated v2 to animate an array of Animated.Views. For my case, there are 2 handicaps: The objects will eventually animate each other. Because of this I am not able to generate a new sub-component for each…
2
votes
0 answers

React Native aws-amplify Auth.signIn throwing NotAuthorizedException on android only when used with react native reanimated

I'm using aws-amplify: 4.3.11, aws-amplify-react-native: 6.0.4. When I try to sign in and enter username and password, it first freezes the screen and hangs the sign-in button, then works and throws an exception   "Incorrect username or password".…
2
votes
0 answers

Adding imports from "@rainbow-me/animated-charts" crashes Expo app: "TypeError: this.InnerNativeModule.configureProps is not a function."

I am using a Windows computer and working on a React Native project using Yarn and Expo. I am trying to use "@rainbow-me/animated-charts". Here are the summarized steps I took to install their package, as per their documentation. Installed…
2
votes
2 answers

Debugging React Native app having React Native Reanimated with Vscode: TypeError: global.performance.now is not a function

I'm tasked with an already-started project that has React Native Reanimated library as a dependency. Whenever I debug my app with Vscode/Chrome debugger, when I navigate to any screen that has components depending on Reanimated, I keep getting…
2
votes
1 answer

Animating a paginator indicator into a button

I have been developing a personal application to build a finance app. At the moment I'm creating an Onboarding screen, with is successfully working. Although I want to add some styles to it, I have created an animated paginator, but I want to make…
2
votes
0 answers

React native Invariant Violation: Module AppRegistry is not a registered callable module

I'm having this error everytime creating a new app. I copy old package.json form my working project but gives me this error. How to fix it I tryed a lot. It gives error when my App.js is like this Error Invariant Violation: Module AppRegistry is not…
2
votes
0 answers

react-native-reanimated with react native version 67 Reanimated proplem

enter code here Unable to resolve module ./reanimated2/component from C:\Users\bdtask\Desktop\UpdatedJpo\Japyo\node_modules\react-native-reanimated\src\Animated.js i have updated react native version 67, and add reanimated. when i run this react…
Sajib saha
  • 301
  • 4
  • 16
2
votes
1 answer

compileSdkVersion is not specified. Please add it to build.gradle

A problem occurred configuring project ':react-native-reanimated'. com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle Android/build.gradle ext { buildToolsVersion = "30.0.2" …
Alihaydar
  • 91
  • 3
  • 9
2
votes
0 answers

React Native: Does Reanimated2 work on the web in a managed Expo project?

As per the documentation provided here, it looks like ReAnimated2 should work in a managed Expo project but we just won't get remote js debugging. The new APIs in react-native-reanimated@2 use React Native APIs that are incompatible with Remote JS…
wongz
  • 3,255
  • 2
  • 28
  • 55
2
votes
0 answers

Error during executing the React native project on Android emulator on Mac M1

I can successfully sync my project with the android studio but I am running the project then I am getting an Error: Attempt to invoke interface method 'booleancom.swmansion.ranimated.layoutReanimation.NativeMethidsHolder.isLayoutAnimationEnabled()'…
2
votes
0 answers

Can we use string values as output Range in interpolate of animated value in react native?

I can use numbers, boolean values and degrees as strings(i.e '0deg') but I cannot use normal strings values as output Range in interpolate of animated value in react native.As we can see using degrees as strings but why can't we use normal strings…
Tarun555
  • 33
  • 1
  • 7
2
votes
1 answer

react-native-reanimated useSharedValue does not update in jest tests

I'm currently trying to figure out how to test reanimated 2 animations using useSharedValue. What makes 0 sense to me is the example given from…
2
votes
1 answer

Do I need additional set up when installing drawer navigator??? Reanimated2 warning. React Native

Can somebody clarify does drawer navigator requires additional set up apart from npm install react-native-gesture-handler react-native-reanimated? After installation of drawer and react-native-gesture-handler react-native-reanimated. Official doc…
2
votes
1 answer

React-native Execution failed for task ':app:processDebugManifest' for android app

Im trying to run a react-native android app on theM1 Mac air. Im running react-native 0.63.4. Android Studio 2020.3.1 for apple chip. The iOS app works fine however my android app behaves strangely. Firstly I get this error whenever I try to run the…