react-native 0.62.0
Warning in 0.62.0 - useNativeDriver has some changes in the latest react-native release.
Animated:
useNativeDriverwas not specified. This is a required option and must be explicitly set totrueorfalse
[Thu Mar 26 2020 17:59:10.130] WARN Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`
in Item (at connectStyle.js:392)
in Styled(Item) (at Login/index.js:50)
in LoginScreen (at SceneView.tsx:98)
in SceneView (at useDescriptors.tsx:125)
in CardContainer (at CardStack.tsx:531)
in CardStack (at StackView.tsx:388)
in KeyboardManager (at StackView.tsx:386)
in Context.Consumer (at StackView.tsx:384)
in StackView (at createStackNavigator.tsx:67)
in StackNavigator (at AuthStackNavigator.js:13)
in AuthNavigator (at AuthWrapper/index.js:35)
in AuthWrapper (at src/index.js:12)
in App (at App.js:69)
in Anonymous (at renderApplication.js:45)
there is useNativeDriver props on Animatable.View but when i set that it doesnt change the situation and warning still exists
@Ho3ein-Boka They're written in TypeScript. I believe after setting the prop you will have to run the build script to bundle the code into JS as well to make it work.
facing same issue .. i'm getting:
Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false
i'm on React Native 0.62. and setting useNativeDriver has NO effect
Same here. I'm also facing the same issue.
The same issue I also facing
Hey what's up with this issue?