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

[FR]: Support for lottie zip archives #495

Open
2 tasks done
RTAzis opened this issue Mar 28, 2024 · 0 comments
Open
2 tasks done

[FR]: Support for lottie zip archives #495

RTAzis opened this issue Mar 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RTAzis
Copy link

RTAzis commented Mar 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

The current package supports Lottie JSON files. Lottie itself also supports ZIP archives where the archive and the JSON file inside have the same name convention. I propose adding support for these ZIP archives for enhanced functionality.

// Load an animation and its images from a zip file
Lottie.asset('assets/my_lottie_files/test.zip'),

Describe the solution

When lottie: true, it may loop through ZIP archives, unpack them into memory, detect .json files, and validate their signature.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@RTAzis RTAzis added the enhancement New feature or request label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant