antonKalinin / react-native-image-view

Modal component to view images with zoom
https://expo.io/@antonkalinin/react-native-image-view
MIT License
325 stars 102 forks source link

useNativeDriver Warning #73

Open hjhimanshu01 opened 4 years ago

hjhimanshu01 commented 4 years ago

Hey there, I'm getting this warning Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false , I'm not sure what this relates to ?

abdi4 commented 4 years ago

Same here. I’m getting that everytime i open or close an image?

abdi4 commented 4 years ago

I found a temporary solution. Go to node_modules/react-native-image-view/src/ImageView.js and add useNativeDriver: true to everywhere you see Animated.timing. This is an example Screenshot 2020-07-08 at 19 43 50

meikbolender commented 4 years ago

I found a temporary solution. Go to node_modules/react-native-image-view/src/ImageView.js and add useNativeDriver: true to everywhere you see Animated.timing. This is an example Screenshot 2020-07-08 at 19 43 50

then i getError: Style property 'backgroundColor' is not supported by native animated module

abdi4 commented 4 years ago

Instead of using animatedBackgroundColor on line 778 i’m using my own colour Screenshot 2020-09-01 at 16 14 01

AndriesJacobus commented 3 years ago

Also getting this issue. @antonKalinin please fix

grkemtneri commented 3 years ago

you can use https://github.com/jobtoday/react-native-image-viewing @AndriesJacobus