From 7c46231bb0e6ac094b08b73e75a56ebe6e1840d8 Mon Sep 17 00:00:00 2001 From: Dariy Dzyndra Date: Thu, 27 Jan 2022 23:29:54 +0200 Subject: [PATCH] fix manual capture --- README.md | 9 ++++++--- .../DocumentScannerAndroidPackage.java | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9ed4f585b..6b314001c 100644 --- a/README.md +++ b/README.md @@ -69,17 +69,20 @@ import DocumentScannerAndroid from "react-native-documentscanner-android"; ### Manual capture -- Get the component ref +- Import `capture` method ```tsx import { capture } from 'react-native-documentscanner-android'; ``` -- Then +- Then use it ```ts -scanner.capture(); +