software-mansion / react-native-reanimated

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

Application crashes on Android when using entering/exiting #5946

Open R0LLeX opened 5 months ago

R0LLeX commented 5 months 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 5 months ago

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

Latropos commented 5 months ago

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

R0LLeX commented 4 months 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

ngdbao commented 2 months ago

Real device, Android, anything entering animate on screen, then we just call simple Alert api from react-native, it crashed 100% This happened on [3.13.0]

It seems fixed on 3.14.0

anasvemmully commented 3 weeks ago

Is it functioning well with the upgrade 3.14.0, as certain Redmi smartphones in the production app experience the same