mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
769e368889
Summary: Right now, animations don't work on Android in bridgeless mode because NativeAnimatedModule directly uses the UIManagerModule for various things. Previously, I added a bridgeless check to the module's `initialize()` method to avoid adding a listener on the UIManager; in this diff, I'm moving that check so that we also skip adding the lifecycle listener on the context in bridgeless mode, too. I'll remove this check once we come up with a replacement for the UIManagerModule API. Reviewed By: JoshuaGross Differential Revision: D19964171 fbshipit-source-id: 7c461f535e370b0e607c28905c505239cce0e157