Skip to content

Commit

Permalink
Another clarification on README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vicajilau committed Mar 4, 2024
1 parent 8166f17 commit 7aefdce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,15 @@ The easiest way to get a list of images is:
final imagesPath = await CunningDocumentScanner.getPictures()
```

On Android there are some features that can be adjusted that will be ignored on iOS.
You can limit the number of pages as follows:

```
final imagesPath = await CunningDocumentScanner.getPictures(noOfPages: 1)
```

This would limit the number of pages to one. noOfPages also only works on Android. The parameter is never used in the iOS implementation.
In addition, and only on Android for now, you can allow importing images from the gallery:
This would limit the number of pages to one. As it is said, noOfPages also only works on Android (the parameter is never used in the iOS implementation).
In addition, and only on Android too, you can allow importing images from the gallery:

```
final imagesPath = await CunningDocumentScanner.getPictures(isGalleryImportAllowed: true)
Expand Down

0 comments on commit 7aefdce

Please sign in to comment.