Skip to content

Commit df08d65

Browse files
Emily Janzerfacebook-github-bot
authored andcommitted
Disable animations on Android again
Summary: We don't yet have native driver support for animations in bridgeless mode on Android, which leads to some weird bugs (like an overlay that never disappears). Let's just disable animations on Android again. Reviewed By: mdvacca Differential Revision: D21537982 fbshipit-source-id: b4e8882a414fecbd52dd25e02325b5c588ee68c0
1 parent e5a6655 commit df08d65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Libraries/Animated/src/Animated.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import typeof AnimatedView from './components/AnimatedView';
2121
const AnimatedMock = require('./AnimatedMock');
2222
const AnimatedImplementation = require('./AnimatedImplementation');
2323

24-
const Animated = ((Platform.isTesting
24+
const Animated = ((Platform.isTesting ||
25+
(Platform.OS === 'android' && global.RN$Bridgeless)
2526
? AnimatedMock
2627
: AnimatedImplementation): typeof AnimatedMock);
2728

0 commit comments

Comments
 (0)