mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
chore: tweak missing RCTAnimation warning message (#28139)
Summary: As we don't link modules manually anymore it's better to point the user in another direction when they face this issue. ## Changelog [Internal] [Changed] - tweak missing RCTAnimation warning message Pull Request resolved: https://github.com/facebook/react-native/pull/28139 Reviewed By: cpojer Differential Revision: D20009264 Pulled By: hramos fbshipit-source-id: 114cae4fe908186eab3d8d9e79c2016015406821
This commit is contained in:
committed by
Facebook Github Bot
parent
aebf54aee4
commit
1c5938eae7
@@ -292,7 +292,7 @@ function shouldUseNativeDriver(config: AnimationConfig | EventConfig): boolean {
|
||||
'animated module is missing. Falling back to JS-based animation. To ' +
|
||||
'resolve this, add `RCTAnimation` module to this app, or remove ' +
|
||||
'`useNativeDriver`. ' +
|
||||
'More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420',
|
||||
'Make sure to run `pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md',
|
||||
);
|
||||
_warnedMissingNativeAnimated = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user