Skip to content

Commit

Permalink
Add missing installation instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin Marc authored Mar 13, 2019
1 parent d198bd1 commit 228a09b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
- https://github.com/Michaelvilleneuve/react-native-document-scanner

0 comments on commit 228a09b

Please sign in to comment.