Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add useNativeDriver prop #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add useNativeDriver prop #30

wants to merge 1 commit into from

Conversation

mskri
Copy link

@mskri mskri commented Apr 7, 2020

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`

This PR introduces `useNativeDriver` as a new prop to `SvgAnimatedLinearGradient`. Latest React Native versions gives warning that `Animated.timing()` must have explicitly set `useNativeDriver`.

    Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`
@joebernard
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants