From f9ab788c6bcf886170259c132ea4f9ef39e6bfd3 Mon Sep 17 00:00:00 2001 From: Sagiv Ofek Date: Fri, 2 Dec 2016 15:20:58 -0800 Subject: [PATCH] Add more info link for warnedMissingNativeAnimated Summary: Add link with more details of how to resolve warnedMissingNativeAnimated warning. Closes https://github.com/facebook/react-native/pull/11224 Differential Revision: D4268352 fbshipit-source-id: 679574570aea2f4ec7083247d5b6dcba378e8560 --- Libraries/Animated/src/AnimatedImplementation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/Animated/src/AnimatedImplementation.js b/Libraries/Animated/src/AnimatedImplementation.js index fd65b6b23..074794d88 100644 --- a/Libraries/Animated/src/AnimatedImplementation.js +++ b/Libraries/Animated/src/AnimatedImplementation.js @@ -42,7 +42,8 @@ function shouldUseNativeDriver(config: AnimationConfig | EventConfig): boolean { 'Animated: `useNativeDriver` is not supported because the native ' + 'animated module is missing. Falling back to JS-based animation. To ' + 'resolve this, add `RCTAnimation` module to this app, or remove ' + - '`useNativeDriver`.' + '`useNativeDriver`. ' + + 'More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420' ); warnedMissingNativeAnimated = true; }