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

fix: refactor event dispatch logic on android to fix fabric crash #1000

Conversation

AlexanderEggers
Copy link
Contributor

fixes #963

This PR refactors the event dispatch logic on Android and makes use of the EventDispatcher on paper and fabric. I did a test in both architectures via the example project and was successfully able to see the relevant console log which is running when an animation finishes.

cc @matinzd @alfonsocj @emilioicai

Copy link
Collaborator

@matinzd matinzd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you a lot for helping me out with this. Unfortunately, I couldn't find free time to fix this.
Looks great!

@matinzd matinzd merged commit ebb8006 into lottie-react-native:master Mar 26, 2023
@AlexanderEggers AlexanderEggers deleted the fix/onanimationfinish-event-crash branch March 26, 2023 22:47
@matinzd matinzd mentioned this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Crash on new arch when lottie animation finishes
2 participants