software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.54k stars 1.26k forks source link

Application crashes on Android when using entering/exiting #5946

Open R0LLeX opened 1 month ago

R0LLeX commented 1 month ago

Description

When using entering/exiting in a component Animated.View <Animated.View entering={FadeInLeft}>....</Animated.View> the android app crashes

https://github.com/software-mansion/react-native-reanimated/assets/95383638/2ed95da4-655c-4982-8afb-df5e55372b3a

Steps to reproduce

  1. Go to the screen where the Animated.View component is used Expected result: everything is working fine The actual result: the application crashes on android Redmi Note 9 Pro, Android version: 10

Snack or a link to a repository

https://snack.expo.dev/1e22PTDDTBsATEL0LtEop

Reanimated version

3.9.0

React Native version

0.73.2

Platforms

Android, iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Release app & dev bundle

Device

Real device

Device model

Redmi Note 9 Pro (Android 10)

Acknowledgements

Yes

szydlovsky commented 1 month ago

@R0LLeX thanks for submitting the issue - could You please provide a stack trace of the crash as well?

Latropos commented 1 month ago

@R0LLeX Hi! Your example works fine in the simulator. Also the attached video is broken

R0LLeX commented 1 month ago

@R0LLeX Hi! Your example works fine in the simulator. Also the attached video is broken

The crash only occurs in production on a real device, in the android simulator everything works fine