react-native-camera-roll-picker
react-native-camera-roll-picker copied to clipboard
GIFs not animating when importing uri
I'm trying to display images and gifs in my app on React Native's default Image component, but the uri's from the gifs selected using this library display a static unanimated image rather than the animated gif on the Image component. When I test out the component with a web url of a gif, it animates fine, so it appears to be an issue with how the uri from the camera roll picker
same issue react native 0.44.0
@arminsal1 @AlexKotov This is an issue. How did you solve it? Its because this library returns an assets-library
file as it is without converting to PHAsset
. Hence you just get the first frame. Shame!
This library solves this problem: https://github.com/olofd/react-native-photos-framework/ but its just an API and no GUI. We have to build a GUI.
I have request for a feature here: https://github.com/olofd/react-native-photos-framework/issues/71 Please upvote!
@srameshr Thank u for the info. I don't solve the problem yet. I will solve it in my modification of React Native Camera soon: https://github.com/FishErr/react-native-camera
I solute it !just temporary solution
https://github.com/FaridSafi/react-native-gifted-chat/issues/878