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

Add renderMode property for Android #654

Merged

Conversation

kenMarquez
Copy link

@kenMarquez kenMarquez commented May 21, 2020

Summary

We currently use lottie-react-native , recently we received the report of an error that is occurring with some Lottie's with Android 7 and it is related to Hardware acceleration in Android.

Following this issue in this thread
airbnb/lottie-android#1453

We found that it can be solved with a renderMode property that is out of the box inside the lottie-android library, but this property is not exposed in React Native, so this PR expose it to be used from React Native

Test Plan

We already tested this and it's works! 🎉

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I mentioned this change in CHANGELOG.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)

@emilioicai emilioicai merged commit e3b43aa into lottie-react-native:master May 21, 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.

None yet

2 participants