From 92c418f41ebb241d768c275fd7d5ad7c68daa79b Mon Sep 17 00:00:00 2001 From: TimothyOsborn Date: Fri, 29 Mar 2019 11:46:54 +1100 Subject: [PATCH] Applied getViewManagerconfig() as UIManager.RSSignatureView no longer supported. --- SignatureCapture.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, [], ); }