DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.21k stars 1.51k forks source link

Prevent a gif image of looping in Android #651

Open JohnBerd opened 4 years ago

JohnBerd commented 4 years ago

I am loading a gif image in Android and it is looping even if the loop count was set to 1 in the gif.

How can I do to prevent the looping?

Vacietis commented 3 years ago

@JohnBerd Hi, did you solve this somehow?

JohnBerd commented 3 years ago

@Vacietis Hi, unfortunately still no solution for this

safeer-ahmed commented 3 years ago

Didn't fine any solution to set loop-count programmatically. However, using this you can set loop-count to 1 or any number.

lightning331 commented 2 years ago

same here. It loops only one in iOS for the gif file which doesn't loop. But it keeps the looping in Android.

aleworth commented 2 years ago

I'm having the same problem as well. If I run the gif manually outside of the application it works as expected and doesn't repeat, but inside the fast image wrapper it repeats. Any solution yet?

touchalex commented 1 year ago

I am having the same issue. My GIF has been set to loop = 1. It works on iOS but not working on Android. Any solution?

Thinh-Vertex commented 1 year ago

Same here. Any solution yet?

poojagupta-trilogy commented 11 months ago

Any solution for this? Facing same issue.

safeer-ahmed commented 11 months ago

Any solution for this? Facing same issue.

You may try this for now: https://github.com/DylanVann/react-native-fast-image/issues/651#issuecomment-895250212

ritute commented 8 months ago

Same issue