Skip to content
New issue

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

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

Already on GitHub? # to your account

Animated 'useNativeDriver' was not specified #146

Open
yamila-fraiman opened this issue Jun 22, 2020 · 6 comments
Open

Animated 'useNativeDriver' was not specified #146

yamila-fraiman opened this issue Jun 22, 2020 · 6 comments

Comments

@yamila-fraiman
Copy link

Hi, I'm getting this warning: Animated 'useNativeDriver' was not specified, when swipe left in the first image or right in the last one. Any idea?

@otskarli
Copy link

I have the same issue, did you managed to resolve it?, there is no alternative to that package for me

@mega4area
Copy link

solution :
go inside library files react-native-image-gallery in node_modules folder and searchn for this file ViewTransformer/index.js
and add useNativeDriver: false, to Animated.timing
it should look like this
Animated.timing(
this.state.animator,
{
toValue: 1,
duration: duration,
useNativeDriver: false,
easing: Easing.inOut(Easing.ease)
}
).start();

@andy-asi
Copy link

or you can use:
#152

@zholmes1
Copy link

zholmes1 commented Jan 7, 2021

or you can use:
#152

Thank you for this

@Imon621
Copy link

Imon621 commented Jan 6, 2022

solution : go inside library files react-native-image-gallery in node_modules folder and searchn for this file ViewTransformer/index.js and add useNativeDriver: false, to Animated.timing it should look like this Animated.timing( this.state.animator, { toValue: 1, duration: duration, useNativeDriver: false, easing: Easing.inOut(Easing.ease) } ).start();

yep it works perfectly. thanks!😊

@natemartins
Copy link

or you can use: #152

Thanks for this. This saved my pecious time

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

No branches or pull requests

7 participants