software-mansion / react-native-reanimated

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

Android crashes in standalone with Expo SDK39 and managed workflow #1454

Closed outaTiME closed 3 years ago

outaTiME commented 3 years ago

Hi, I am with several reports of affected users in android running in standalone mode (with managed workflow) using the Expo SDK39 with reanimated2 and turbomodules enabled.

The errors are totally random and the only thing you can see is the statistics from the google play console.

In my local tests I cannot reproduce any case, could it be a problem in the assembly of the standalone build?

In iOS, no user reports have been experienced.

I leave the stacktrace that takes the largest number of cases:

<un: 
  at host.exp.exponent.experience.BaseExperienceActivity.lambda$consumeErrorQueue$0 (BaseExperienceActivity.java:210)
  at host.exp.exponent.experience.-$$Lambda$BaseExperienceActivity$zZZNiLUhJmY4AlwF2loJATXcbqc.run (-.java:2)
  at android.os.Handler.handleCallback (Handler.java:790)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6626)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:811)

and I also leave the statistics of total cases by android versions:

telegram-cloud-photo-size-1-5019291656658200783-y

I don't know what to do or how to debug because it's really weird.

I am using the exact versions listed in the expo doc:

https://docs.expo.io/versions/latest/sdk/reanimated/

react-native-reanimated@2.0.0-alpha.6.1

any help is welcome πŸ™

github-actions[bot] commented 3 years ago

Issue validator - update # 2

Hello! It seems like there are some problems with your issue. Please fix them and wait for the validator to confirm that everything is alright. Thank you!

Validator encountered following problems:

karol-bisztyga commented 3 years ago

Hi! It's been a while, there have been many new versions of reanimated since this came up. Please try to use the newest release(or rc.0 if using expo -> look here). I also don't know if that's still the case for you. If you are still experiencing difficulties doing this, please, let me know and I will reopen this issue.