"Failed to dispatch window animation state change" crash occasionally on Android LayoutAnimation #20685
Closed
3 tasks done
Labels
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Environment
Environment:
OS: macOS High Sierra 10.13.6
Node: 10.4.1
Yarn: 1.7.0
npm: 6.2.0
Watchman: Not Found
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: 16.4.1 => 16.4.1
react-native: ~0.56.0 => 0.56.0
Description
This is tough to reproduce, I haven't been able to recreate this issue in a nice sandbox environment, however I have shared the general structure of the code along with the error log in the hope that somebody else might be able to see how to recreate it.
Appears to be similar to issue #7165
Devices affected by the crash:
Moto G3 (Android 6.0.1) and Huawei P9 (Android 7)
Devices not affected by the crash:
Pixel 2 (Android 9)
The crash stops when you remove all LayoutAnimations from the code
Crashlog
Reproducible Demo
This is a snippet from the application I am building. I have tested this code using a
FlatList
instead of aCarousel
and the issue stops occurring so this might not be a react-native specific issue but rather an issue withreact-native-snap-carousel
The text was updated successfully, but these errors were encountered: