Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animated PNG not playing on Android #190

Closed
alex-gale opened this issue Feb 13, 2025 · 3 comments
Closed

Animated PNG not playing on Android #190

alex-gale opened this issue Feb 13, 2025 · 3 comments
Assignees

Comments

@alex-gale
Copy link

Describe the bug
Animated PNGs play beautifully on iOS, but I can't get them to play on Android. I've tried patching in https://github.com/penfeizhou/APNG4Android#glide-support to no avail. Does anyone have experience with this?

To Reproduce

  1. Create a FastImage with an animated PNG source (e.g. { uri: "https://apng.onevcat.com/assets/elephant.png" })
  2. Open the debug app in Android

Expected behavior
The APNG animation is played

Dependency versions

  • React Native version: 0.76.5
  • React version: 18.3.1
  • React Native Fast Image version: 8.9.1
Copy link

👋 Welcome to the community!
Thank you for opening your first issue. We appreciate your contribution and will review it as soon as possible.
Feel free to ask questions, share ideas, or provide any additional details! We're here to help. 😄

@sarthak-d11
Copy link
Collaborator

Hey @alex-gale , I was able to make it work with
implementation "com.github.penfeizhou.android.animation:glide-plugin:2.24.0"

@alex-gale
Copy link
Author

That worked perfectly, thanks @sarthak-d11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants