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

disable hardware rendering for Android 7 to avoid native crashes in l… #1586

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

oritgurel
Copy link
Contributor

…ibhwui.so and libc.so

In my company I work on an app that serves over one million users.
We saw a sharp increase in our crash rates due to native libhwui.so / libc.so crash almost exclusively in Android 7 versions.
After reading this and similar pages, I set software render mode on all of our LottieAnimationViews for Android 7, and this crash was gone.

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

Copy link
Collaborator

@gpeal gpeal left a comment

Choose a reason for hiding this comment

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

Android 7 does cause a number of issues so this is reasonable.

@gpeal gpeal merged commit 65ec4f5 into airbnb:master Jul 29, 2020
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.

4 participants