react-native 0.62.0 - Animated: `useNativeDriver`
See original GitHub issueI have gone through these following points
- Check latest documentation: https://docs.nativebase.io/
- Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
- Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
- Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
- [] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
- [] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/
Issue Description
node, npm, react-native, react and native-base version, expo version if used, xcode version
node: v12.14.1 npm: 6.14.4 react-native: 0.62.0 native-base: 2.13.12
Expected behaviour
Actual behaviour
Get some warning in react-native console since react-native 0.62.0
.
WARN Animated: "useNativeDriver" was not specified. This is a required option and must be explicitly set to "true" or "false"
.
Steps to reproduce
Just run a react-native app and use some components with animation without specify useNativeDriver
, like <Toast>
.
Is the bug present in both iOS and Android or in any one of them?
Both iOS and Android.
Any other additional info which would help us debug the issue quicker.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:140
- Comments:67 (6 by maintainers)
Top Results From Across the Web
Using Native Driver for Animated
Animations are very important to create a beautiful user experience ... add useNativeDriver: true to the animation config when starting it.
Read more >Animated: `useNativeDriver` was not specified issue of ...
Just add useNativeDriver: true to the animation config. const [animatePress, setAnimatePress] = useState(new Animated.
Read more >View Raw - UNPKG
... src="https://github.com/VincentCATILLON/react-native-confetti-cannon/raw/master/.github/demo.gif" ... Animated: useNativeDriver was not specified.
Read more >Upgrade to React Native 0.62 - Matt Oakes
React Native 0.62 has been a long time coming and brings many changes, ... The useNativeDriver property is now required when using the...
Read more >React Native 0.62 Warn Animated: "useNativeDriver" was not ...
QuestionUpgrade the React Native project to 0.62. There are some warnings about the Animated method.WARN Animated: "useNativeDriver" was not ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Guys… this is impacting everyone using latest ReactNative … it would be helpful to all if admin can rollout the fix soon …
Version
2.13.13
was just released and contains the fix for this issue.