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

Gradient and transparency animation issue #2091

Closed
cmonfortep opened this issue Jun 16, 2022 · 1 comment
Closed

Gradient and transparency animation issue #2091

cmonfortep opened this issue Jun 16, 2022 · 1 comment

Comments

@cmonfortep
Copy link

Describe the bug
We have an animation that works on Web and iOS, but on Android is not working as expected.
We have reviewed the list of unsupported features and it seems everything is supported. We are using radial gradient.

What version of Lottie did you test this on?
5.0.3 in our app, but we have tested this using https://play.google.com/store/apps/details?id=com.airbnb.lottie

What version of Android did you test this on?
Android 12

Steps To Reproduce
Steps to reproduce the behavior:

  1. You can load the attached animation into https://play.google.com/store/apps/details?id=com.airbnb.lottie
  2. Notice how the background gradient is not correctly applied (expected is a gradient background but the output is solid green)

Screenshots
Expected behavior (works on web and iOS):
lottie-expected

Issue on Android (using aibnb lottie)
lottie-issue

Here's an screenshot, hope is more clear (sorry for the low-res on Android):
image

And here's the Lottie animation:
protected_shield.json.zip

Probably related?

@cmonfortep
Copy link
Author

Found this was fixed by #2062 in 5.1.1.

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

1 participant