question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Toast.show display a warning: Animated: `useNativeDriver` was not specified

See original GitHub issue

when execute show method, display a warning Animated: useNativeDriver was not specified.

my questions are, where? and how? i must declared the useNativeDriver: true o false, for working this

Thank!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

8reactions
daybreakercommented, May 15, 2020

This was an issue caused by RN 0.62, and they merged a fix for it here: #3109, but havent released it yet. Hopefully they do a 2.13.13 release soon with it.

For now, you can dismiss the warnings. If you want to suppress the warnings so they dont show up on your app, you can add this to your App.js:

// @TODO: This is to hide a Warning caused by NativeBase after upgrading to RN 0.62
import { YellowBox } from 'react-native'

YellowBox.ignoreWarnings([
  'Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`',
])
// ------- END OF WARNING SUPPRESSION
2reactions
embraycommented, Sep 29, 2020

It should be noted that this was fixed in v2.13.13 by 5c190746544293aa9c434c4831771f7e17043317.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Animated: `useNativeDriver` was not specified issue of ...
Then I tried to add input with the floating label. It gives a warning message: Animated: useNativeDriver was not specified. This is a...
Read more >
How to Fix Animated: `useNativeDriver` was not specified ...
1- First solution for Animation and Animatable As the warning says, we need to specify the useNativeDriver option explicitly and set it to...
Read more >
Creating React Native animated toast messages from scratch
Learn how to easily create toast messages in React Native from scratch using the React Native Animated library.
Read more >
“Animated: `useNativeDriver` was not specified. This is a ...
Answers related to “Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false”.
Read more >
React Native Confetti Explosion and fall Like iOS Does - Morioh
It is strongly recommended to use 1.2.0 or higher to avoid this warning introduced in React-Native 0.62: Animated: useNativeDriver was not specified.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found