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

crash happen when I use local zip file ,jpg not support #1767

Closed
yuerolling opened this issue Mar 22, 2021 · 1 comment · Fixed by #1769
Closed

crash happen when I use local zip file ,jpg not support #1767

yuerolling opened this issue Mar 22, 2021 · 1 comment · Fixed by #1769

Comments

@yuerolling
Copy link

hi , I load resource with a zip file , but crash happen
I found the code in source file LottieCompositionFactory.java

else if (entryName.contains(".png") || entryName.contains(".webp"))

but my image file end with ".jpg " , I wonder ,is this a bug or not support other format ?

@mwshubham
Copy link

mwshubham commented Jun 11, 2021

I was moving .json to .zip for APK size reduction. And found the same. I am wondering why this was discovered so late.
Also Can you please review if this is tested in lottie web player.

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

Successfully merging a pull request may close this issue.

2 participants