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

Support new UIManager API #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XeroX
Copy link

@XeroX XeroX commented Apr 8, 2019

Since this commit got merged in RN 0.58 any direct access to UIManager is now yielding a deprecation warning.

This PR adds support for the new API and provides a fallback for RN < 0.58.

I've decided against tests here since we are using react-native-mock and mocking mocks is uncool.

XeroX added a commit to sweatco/lottie-react-native that referenced this pull request Apr 13, 2019
Patch contains fix from lelandrichardson/react-native-safe-module#6
which adds support for new UIManager API.
XeroX added a commit to sweatco/lottie-react-native that referenced this pull request Apr 15, 2019
Patch contains fix from lelandrichardson/react-native-safe-module#6
which adds support for new UIManager API.
@ahanriat
Copy link

Any update on this PR? 🙏

@emilioicai
Copy link

It looks like this is a stale project so this PR will be never merged. I published a fork of it including this PR: https://github.com/emilioicai/react-native-safe-modules

@ahanriat
Copy link

Thanks @emilioicai

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.

3 participants