diff --git a/README.md b/README.md index cdd9cda7..0fd42a32 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,10 @@ project(':react-native-documentscanner-android').projectDir = new File(rootProje ```java include ':openCVLibrary310' project(':openCVLibrary310').projectDir = new File(rootProject.projectDir,'../node_modules/react-native-documentscanner-android/android/openCVLibrary310') +``` + #### Add this to android/app/build.gradle (dependencies section) +``` +implementation project(':react-native-documentscanner-android') ``` ### Usage @@ -109,4 +113,4 @@ The images are saved in `Documents` folder. Inspired in android project - https://github.com/ctodobom/OpenNoteScanner -- https://github.com/Michaelvilleneuve/react-native-document-scanner \ No newline at end of file +- https://github.com/Michaelvilleneuve/react-native-document-scanner