Re-enable animations on Android

Summary:
We disabled animations on Android because native driver animations weren't working yet. After recent changes in NativeAnimatedModule, animations are now working as expected. This diff re-enables animations for bridgeless mode on Android.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D22605612

fbshipit-source-id: 7a7078bf23bb88e7745fc899e1a5ff551425dbad
This commit is contained in:
Emily Janzer
2020-08-27 15:08:48 -07:00
committed by Facebook GitHub Bot
parent d344fb4e29
commit 39f694a748
+1 -2
View File
@@ -21,8 +21,7 @@ import typeof AnimatedView from './components/AnimatedView';
const AnimatedMock = require('./AnimatedMock');
const AnimatedImplementation = require('./AnimatedImplementation');
const Animated = ((Platform.isTesting ||
(Platform.OS === 'android' && global.RN$Bridgeless)
const Animated = ((Platform.isTesting
? AnimatedMock
: AnimatedImplementation): typeof AnimatedMock);