software-mansion / react-native-reanimated

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

ANR on Android #6595

Open oferRounds opened 5 days ago

oferRounds commented 5 days ago

Description

Not sure if this is related to the other ANR issues I saw on the issues. happy if you can have a look. Running on react native 0.72.14, and my android app gets stuck (happens only on Android). This is the stack trace from Sentry: https://hibob.sentry.io/share/issue/65e71a32440241cc90397a2b9cb97c36/

Steps to reproduce

Not sure how to reproduce it. We have a floating button which appears right on the start of the app, which uses react-native-animated. When we‘re removing the usage of it – all seems to work well

Snack or a link to a repository

I don’t have, but if it a must, I will try to add one later

Reanimated version

3.15.1

React Native version

0.72.14

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Release app & production bundle

Device

Real device

Device model

One Plus

Acknowledgements

Yes

github-actions[bot] commented 5 days 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?

tvooo commented 3 days ago

We're getting these ANR issues too, both user reports and Sentry issues. Here's another stack trace, it's a bit different from what OP posted: https://rise-calendar.sentry.io/share/issue/2870f1735d574c08b5e4378ff096e410/

If it helps: users reported that the crashes happened while the app was in the background.

react-native: 0.75.4 react-native-reanimated: 3.15.4

We also run bridgeless / new architecture.