FullstackStation / react-native-svg-animated-linear-gradient

A wrap SVG component for animated linear gradient
MIT License
435 stars 110 forks source link

Add `useNativeDriver` prop #30

Open mskri opened 4 years ago

mskri commented 4 years ago

This PR introduces useNativeDriver as a new prop to SvgAnimatedLinearGradient. Latest React Native versions gives warning that Animated.timing() must have explicitly set useNativeDriver. It is currently just a warning but generates a lot of noise in logs.

Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`
joebernard commented 4 years ago

I've been testing with @mskri update and lgtm. Can we get this merged, please?