Skip to content

Conversation

tt-driver-apps
Copy link

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

+1

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

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

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

@alimek
Copy link

alimek commented May 29, 2019

+1

@alimek
Copy link

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