Skip to content

Commit 4be07b9

Browse files
author
Selma Zaim
committed
add new feature to Readme.md
1 parent 2ec3397 commit 4be07b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ class YourComponent extends Component {
8787
| contrast | `1` | `float` | Increase or decrease camera contrast. Normal as default |
8888
| quality | `0.8` | `float` | Image compression. Reduces both image size and quality |
8989
| useBase64 | `false` | `bool` | If base64 representation should be passed instead of image uri's |
90+
| saveInAppDocument | `false` | `bool` | If should save in app document |
9091
| captureMultiple | `false` | `bool` | Keeps the scanner on after a successful capture |
9192

9293
## Manual capture
@@ -126,7 +127,13 @@ Enum (0, 1 or 2) corresponding to the type of rectangle found
126127
| :----------- |:-------:| :--------:| :----------|
127128
| onPictureTaken | `data` | `object` | Returns the captured image in an object `{ croppedImage: ('URI or BASE64 string'), initialImage: 'URI or BASE64 string', rectangleCoordinates: 'object of coordinates' }` |
128129

130+
## Save in document
129131

132+
If you want to use saveInAppDocument options, then don't forget to add those raws in .plist :
133+
```xml
134+
<key>LSSupportsOpeningDocumentsInPlace</key>
135+
<true/>
136+
```
130137

131138
### If you prefer manual installation
132139

0 commit comments

Comments
 (0)