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

Missing Caching Mechanism #47

Open
albertml opened this issue Dec 12, 2024 · 1 comment
Open

Missing Caching Mechanism #47

albertml opened this issue Dec 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@albertml
Copy link

Hi,

We have transitioned to this library as the previously used one is no longer maintained and recommends switching to this repository. The library we previously relied on, dotlottie-ios, performed well and included a caching mechanism. However, I’ve observed that this new library does not support caching. I tested it with both SwiftUI and programmatic approaches, but the outcome remains the same.

swiftUI:

DotLottieAnimation(
        webURL: "https://dotlottie.io/sample_files/animation.lottie",
        config: config
      ).view()

Programmatic:

 let simpleVM = DotLottieAnimation(
      webURL: "https://dotlottie.io/sample_files/animation.lottie",
      config: AnimationConfig(autoplay: true, loop: true)
    )
    
    addSubview(simpleVM.view())
@samuelOsborne
Copy link
Member

hi @albertml thanks for raising this issue. I'll attach the appropriate labels to this and see if we can get round to this in 2025.

@samuelOsborne samuelOsborne added the enhancement New feature or request label Dec 17, 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

2 participants