Skip to content

Commit

Permalink
Enable Animated in Venice
Browse files Browse the repository at this point in the history
Summary:
This diff extends venice app to render an Animation example test

changelog: [Internal][Android] Internal change to enable Animated in RN Bridgless mode

Reviewed By: PeteTheHeat

Differential Revision: D21317630

fbshipit-source-id: 9726fea9baba86191e63df909639d1d47ef5f359
  • Loading branch information
mdvacca authored and facebook-github-bot committed Apr 30, 2020
1 parent 7566bb4 commit f7e8838
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Libraries/Animated/src/Animated.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ const AnimatedMock = require('./AnimatedMock');
const AnimatedImplementation = require('./AnimatedImplementation');

//TODO(T57411659): Remove the bridgeless check when Animated perf regressions are fixed.
const Animated = ((Platform.isTesting || global.RN$Bridgeless
const Animated = ((Platform.isTesting ||
(global.RN$Bridgeless && Platform.OS === 'ios')
? AnimatedMock
: AnimatedImplementation): typeof AnimatedMock);

Expand Down

0 comments on commit f7e8838

Please sign in to comment.