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

App Crash after the recent package resolve #13

Open
Nookaraju opened this issue Feb 8, 2024 · 4 comments
Open

App Crash after the recent package resolve #13

Nookaraju opened this issue Feb 8, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Nookaraju
Copy link

Screenshot 2024-02-09 at 1 17 33 AM
@samuelOsborne
Copy link
Member

hey @Nookaraju it might be due to the layer effect being not supported as per the console logs, could you share the animation with me please?

@samuelOsborne
Copy link
Member

@Nookaraju Could you show your view code please, how you're displaying the animation

also does it crash on every launch or occasionally?

@Nookaraju
Copy link
Author

Nookaraju commented Feb 12, 2024

@samuelOsborne

var simpleVM = DotLottieAnimation(fileName: "Infor_END TAG_NoGrid", config:AnimationConfig(autoplay: true, loop: true))
let loaderView: DotLottieAnimationView = simpleVM.view()
loaderView.translatesAutoresizingMaskIntoConstraints = false
animateView.addSubview(loaderView)
MGUtil.anchorSubView(loaderView, toOccupySuperView: animateView, withInset: UIEdgeInsets.zero)

Every launch, it is crashing.

@samuelOsborne
Copy link
Member

hi @Nookaraju I used your way of instantiating the player and its running, except that I didnt use

MGUtil.anchorSubView(loaderView, toOccupySuperView: animateView, withInset: UIEdgeInsets.zero)

and used instead

        loaderView.frame = view.bounds

Would you be able to share your animation? If possible a full reproducible snippet would be great too please

@samuelOsborne samuelOsborne added the bug Something isn't working label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants