Skip to content

Fixing yellow warning for UIManager in ReactNative#266

Open
tt-driver-apps wants to merge 1 commit intowix-incubator:masterfrom
tt-driver-apps:fixing_view_manager
Open

Fixing yellow warning for UIManager in ReactNative#266
tt-driver-apps wants to merge 1 commit intowix-incubator:masterfrom
tt-driver-apps:fixing_view_manager

Conversation

@tt-driver-apps
Copy link
Copy Markdown

When using this library with the latest version of ReactNative (e.g. 0.58) we get the following warning:

Accessing view manager configs directly off UIManager via UIManager['InteractableView'] is no longer supported.

This pull request applies the necessary modifications for fixing the problem.

…y in tt-driver-apps for using UIManager.getViewManagerConfig)
@tt-driver-apps tt-driver-apps changed the title Fixing yellow warning in react-native-interactable (forked the librar… Fixing yellow warning for UIManager in ReactNative Feb 6, 2019
@donghungx
Copy link
Copy Markdown

+1

UIManager.dispatchViewManagerCommand(
ReactNative.findNodeHandle(this),
UIManager.InteractableView.Commands.bringToFront,
UIManager.getViewManagerConfig('InteractableView').Commands.bringToFront,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

i think you should uniq 'InteractableView' string as a constant

@mattijsf
Copy link
Copy Markdown

@tt-driver-apps Is it possible you make the requested changes? I hope it can then be merged into master 👍

@alimek
Copy link
Copy Markdown

alimek commented May 29, 2019

+1

@alimek
Copy link
Copy Markdown

alimek commented Jun 6, 2019

@tt-driver-apps any chance update PR to the comment, so we can have it merged?

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.

6 participants