Closed ireneeming closed 1 year ago
Im assuming you'd set that in lottie before eporting your gif. My personal advise would be to use if you can lottie-react-native. you'll have more control over the element and animations that way.
@adeteejay Thank you for the advise!
I just figured out this just by using an original
@ireneeming could you show more detail about your resolve? I using image from react-native, it's still repeat animation on both android and ios
@ireneeming could you show more detail about your resolve? I using image from react-native, it's still repeat animation on both android and ios
@Thinh-Vertex Hello! Please check these two.
@ireneeming Thank you so much. I just resolved by same way with you :)
I added "implementation 'com.facebook.fresco:animated-gif:2.5.0'" to the android dependencies. And made the GIF file to loop once only. It loop once only on iOS but still keep looping on Android.
However, I try not to use fastimage and use the default react native image. It works on both platform.
Im assuming you'd set that in lottie before eporting your gif. My personal advise would be to use if you can lottie-react-native. you'll have more control over the element and animations that way.
can lottie show gif and animated webp using image file uri which are stored on device ?
Describe the bug
I am using this library to play gif image for splash screen, but I want to play this gif at once. Also, my gif image is just play one time, not loop. but when it shows in splash screen by using , it keep looping.
is there has any option to play it only once? not looping?