'Animated' Warnings
See original GitHub issueI have a running deck swipper on my application, but whenever I manually move the cards, I get the following two warnings:
Animated: 'useNativeDriver' was not specified. This is a required option and must be explicitly set to 'true' or 'false'
and
Animated.event now requires a second argument for options
I managed to hide these warnings using console.disableYellowBox = true;
I’m pretty new to RN, and I’m wondering if there is a better solution to this. I am using React Native v6.14.4
Issue Analytics
- State:
- Created 3 years ago
- Reactions:12
- Comments:9
Top Results From Across the Web
Warning: Animated Images & Gifs - AnimatedImages.org
llll➤ Hundreds of beautiful animated Warning gifs, images and animations. All animated Warning pictures are absolutely free and can be linked directly, ...
Read more >Warning Animated Icons – Free Download, GIF, JSON, AEP
Free Warning animated icons in various UI design styles for web, mobile apps. Download animated Warning icons for free in GIF, JSON, AEP...
Read more >Warning Animations - Lottiefiles
Warning Animations designed for Web and Mobile. Download Lottie, MP4 and GIF animation.
Read more >Animated Alerts - Etsy
Check out our animated alerts selection for the very best in unique or custom, handmade pieces from our digital shops.
Read more >Animated Alerts - Dribbble
Animated Alerts. Inspirational designs, illustrations, and graphic elements from the world's best designers. Want more inspiration?
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
you have to set this manually for the component that is giving this warning, so…
you have a folder node_modules with yours components right? go to src/node_module/{your_component}
where: your_component is
react_native_deck_swipper
search for fileSwiper.js
open it and add this line here:you can fix this errors manually for all components adding this line
"useNativeDriver: true"
.**if a component uses other components internally that have the same problem, you can define all the lines with that line too
Won’t this just come back whenever I refresh my dependencies