diff --git a/SignatureCapture.js b/SignatureCapture.js index 4a903f93..e5495fa0 100644 --- a/SignatureCapture.js +++ b/SignatureCapture.js @@ -74,7 +74,7 @@ class SignatureCapture extends React.Component { saveImage() { UIManager.dispatchViewManagerCommand( ReactNative.findNodeHandle(this), - UIManager.RSSignatureView.Commands.saveImage, + UIManager.getViewManagerConfig('RSSignatureView').Commands.saveImage, [], ); } @@ -82,7 +82,7 @@ class SignatureCapture extends React.Component { resetImage() { UIManager.dispatchViewManagerCommand( ReactNative.findNodeHandle(this), - UIManager.RSSignatureView.Commands.resetImage, + UIManager.getViewManagerConfig('RSSignatureView').Commands.resetImage, [], ); }