react-native-image-gallery icon indicating copy to clipboard operation
react-native-image-gallery copied to clipboard

Animated 'useNativeDriver' was not specified

Open yamila-fraiman opened this issue 4 years ago • 6 comments

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?

yamila-fraiman avatar Jun 22 '20 02:06 yamila-fraiman

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

otskarli avatar Aug 10 '20 06:08 otskarli

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();

mega4area avatar Aug 11 '20 11:08 mega4area

or you can use: https://github.com/archriss/react-native-image-gallery/pull/152

andy-asi avatar Dec 28 '20 17:12 andy-asi

or you can use: #152

Thank you for this

zholmes1 avatar Jan 07 '21 03:01 zholmes1

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!😊

Imon621 avatar Jan 06 '22 12:01 Imon621

or you can use: #152

Thanks for this. This saved my pecious time

natemartins avatar Jun 05 '22 15:06 natemartins