react-native-reanimated: Entering/Exiting animations don't work in Android development build

Description

The layout animations work just fine when the app is ran inside Expo Go, but does not run when using Android development builds. I’m using Expo (SDK 51). My development OS is Windows 11. I use a physical Android device, haven’t tried on an emulator though. I’ve already tried the following

  1. npx expo start -c
  2. npx expo prebuild --clean
  3. Listed react-native-reanimated/plugin inside babel.config.js

Here’s the output when using Expo Go

https://github.com/user-attachments/assets/6c492a8f-1492-4ed3-a78c-fb113b2e55a9

Using development build

https://github.com/user-attachments/assets/038c0143-a509-4093-a7a6-8aba06504701

Steps to reproduce

  1. npx expo prebuild --clean
  2. npx expo run:android --device
  3. Select the physical device

Snack or a link to a repository

https://github.com/nobrelli/construlink

Reanimated version

3.10.1

React Native version

0.74.5

Platforms

Android

JavaScript runtime

Hermes

Workflow

Expo Go

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

Real device

Device model

Infinix X6827 (Android 12)

Acknowledgements

Yes

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 16 (2 by maintainers)

Most upvoted comments

exiting and entering animation still not working on android on New Architecture

“react-native-reanimated”: “~3.16.3”, “react-native”: “0.76.3”, “expo”: “~52.0.11”