Skip to content

Commit d8049ea

Browse files
committed
chore: add babel as devDependencies
1 parent 02c3d15 commit d8049ea

File tree

3 files changed

+80
-48
lines changed

3 files changed

+80
-48
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
![Demo gif](https://raw.githubusercontent.com/Michaelvilleneuve/react-native-document-scanner/master/images/demo.gif)
22

3-
# React Native Document Scanner
3+
## Set up dev environment
44

5+
[Medium article](https://medium.com/@charpeni/setting-up-an-example-app-for-your-react-native-library-d940c5cf31e4)
56

6-
Live document detection library. Returns either a URI or a base64 encoded string of the captured image, allowing you to easily store it or use it as you wish !
7+
# React Native Document Scanner
78

9+
Live document detection library. Returns either a URI or a base64 encoded string of the captured image, allowing you to easily store it or use it as you wish !
810

911
Features :
1012

@@ -127,6 +129,7 @@ class YourComponent extends Component {
127129
| useBase64 | iOS | `false` | `bool` | If base64 representation should be passed instead of image uri's |
128130
| saveInAppDocument | iOS | `false` | `bool` | If should save in app document in case of not using base 64 |
129131
| captureMultiple | iOS | `false` | `bool` | Keeps the scanner on after a successful capture |
132+
| saveOnDevice | Android | `false` | `bool` | Save the image in the device storage (**Need permissions**) |
130133

131134
## Manual capture
132135

package-lock.json

Lines changed: 72 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
},
2323
"dependencies": {
2424
"react": "16.0.0-beta.5"
25+
},
26+
"devDependencies": {
27+
"@babel/runtime": "^7.5.5"
2528
}
2629
}

0 commit comments

Comments
 (0)