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

[FEATURE] Show reason why animation failed #174

Open
albilaga opened this issue Jun 27, 2023 · 1 comment
Open

[FEATURE] Show reason why animation failed #174

albilaga opened this issue Jun 27, 2023 · 1 comment

Comments

@albilaga
Copy link

Is your feature request related to a problem? Please describe.
We have event SKLottieView.AnimationFailed but we always show EventArgs.Empty in here. Better if user can know the reason why their lottie file is failed to load

Describe the solution you'd like

AnimationFailed event should have reason why they are failed. Maybe event args with exception emitted?

Describe alternatives you've considered

Maybe we can also just add Console.Writeline() but I think it is better if we have reason animation failed emitted from AnimationFailed event

@mattleibow
Copy link
Contributor

I added some basic reasons in the new event args in the form of any caught exceptions: #268

In a skia update, there is a new builder type with far more info.

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

2 participants