Closed CodeWhisperer closed 11 months ago
Hey! š
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Hi @CodeWhisperer! I've just created two new apps, one with RN 0.72.5 and second with 0.72.4 (since that's the version you specified). Both work as expected. Could you please provide more details? Maybe you have enabled reduced motion in your device settings?
@m-bert You were right, by default my device's motion was disabled.
I was using a Pixel 5 emulator with android API 33.
To solve it I have followed the following steps:
I have opened "Settings" on my Android device.
I scrolled down and looked for the section called "Accessibility" or "Accessibility and Usability."
Within the Accessibility section, I have looked for an option that relates to "movement" or "animations". This option may vary depending on the version of Android and the customization layer of your device. Some examples of motion-related option names might be "Reduce Motion" or "Reduce Animations." Tap this option.
And I had an option activated, by deactivating it, closing the emulator and running the application again, it worked correctly for me. Thank you so much!
I'm glad I could help š
Description
I created a new React native project, and followed Reanimated's guide to create a simple animation, and the animations are not running smoothly, they are running in fits and starts.
App.tsx:
babel.config.js:
Expected performance in: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/your-first-animation#using-an-animation-function
Error:
Steps to reproduce
npx react-native@latest init AwesomeProject
npm install react-native-reanimated
npm start -- --reset-cache
Snack or a link to a repository
None
Reanimated version
3.5.4
React Native version
0.72.4
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes