cordova-plugin-document-scanner
cordova-plugin-document-scanner copied to clipboard
Scan multiple document
Hello, i am phonegap developer and using this plugin to scan document. thanks for creating awesome plugin. it is very useful in our project but here we have some additional requirement to scan multiple document.
To achieve our goal currently we are scanning one document at a time and than it comes back to success event after that we are calling function of scan.scanDoc to scan document again. but we need multiple image scan at once and then pass all scanned images in success function.
can it possible with current plugin? if yes then how can we achieve this?
Thanks in advance
Unfortunately at the present moment the only way to perform multiple scans is to call the scan plugin again on the success callback. Anyhow this is a good enhancement to add to the future work and this is exactly what I am going to do. Thank you for raising this issue. Have a nice day!
@ChrisTomAlx Thank you so much for quick response. We are eagerly waiting for this feature in this awesome plugin.
Hi! Are there any news since the last two years? Multiple pages would be really awesome!
Hey On bit of a tight schedule currently. but if a pr is raised I will be able to look at its viability and merge it..
Ok, great! Can I do something to push this further?
Hey @bastifix
Android
- If you are interested in rasing a pr, you can look at the scanlibrary. Maybe fork it if required.
- If you fork it and create a release via github you can then access the built library here.
- You can then fork the document scanner repo and change the build.gradle file in the plugin to match your github build.
- You can then either constantly make releases or use the master-snapshot built to test the library.
iOS
- Refer to this comment
- Ver 3.x.x found in the ver/3.x.x branch of this repo actually implements a new ios library which had plans for batch scanning. You can find that library here
That should get you started. As for the implementation. I haven't gotten to ideating it yet so I am all ears if there are any ideas or if its a pr we can then work to improve on top of that. Keep in mind any changes to one platform library should also keep the other platforms library in view. So that if necessary we can expand functionality for both platforms eventually.
I should probably create a How to Contribute
doc. Will get on that as soon as I am able to.
Hi! Multiple pages would be really awesome! can you tell us when we can expect multi scan functionality?