NeutrinosPlatform / cordova-plugin-document-scanner

cordova plugin for document scan
https://www.neutrinos.co/
MIT License
84 stars 63 forks source link

iOS: Very hard to understand the UI and buttons #15

Closed dylanvdmerwe closed 6 years ago

dylanvdmerwe commented 6 years ago

Where can we find documentation as to what the various buttons do on iOS. They are not very intuitive and users are very confused (and so I am) about what they all do.

ChrisTomAlx commented 6 years ago

whatsapp image 2018-05-31 at 2 10 14 pm 1 whatsapp image 2018-05-31 at 2 10 15 pm

I hope this clears up some of the confusion. The accuracy/performance button does not make a big difference as far as I could tell. Work on both android and ios libraries to optimize and improve overall performance will be our main focus once work on the plugin starts up again.

Thank you for bringing these issues to our attention. Unfortunately I can't help you too much with enhancements in the short term, but all of these will be addressed at one point.

nithilch commented 6 years ago

Can we customize to have the manual scan as default?

mLuby commented 5 years ago

I've been looking to customize this too (and the other buttons) but I can't find where any of this is defined. Searches through the repo for "Manual" and "Auto" turn up nothing even though that text must be somewhere. If you can give me any hints @ChrisTomAlx I might be able to PR my changes to make this more customizable for other users too.

ChrisTomAlx commented 5 years ago

TL:DR

Make changes in the library, Build the library using carthage, add the framework build files to the plugin within the ios folder as seen in this repo. If there are changes that affect user input, i.e. user customization, then change the scan.js file to accept these inputs either as an object (better but requires android changes, currently android accepts array) or as an array.

Please read the long version below, it has more info I haven't mentioned above.

First of all thank you for offering to raise a PR :)

2) array

   module.exports = {
       scanDoc: function (sourceType, detectorView, scanView, successCallback, errorCallback) {
           cordova.exec(successCallback, errorCallback, "Scan", "scanDoc", [sourceType, detectorView, scanView]);
       }
   };

Note :- The passing as object into scan.js for scalability and the addition of already available customisations as user inputs are enhancements that will soon (can't promise a date as of yet) be addressed by us.

There are two other libraries ( WeScan & Yes We Scan) I am looking at, which seem to be better maintained. Thinking about a total revamp using either of these, they support extra customization as well. You can look at these too if you are interested. Or if you have come across another library which does the job better, please bring it to my attention.

Cheers, Chris Neutrinos

tiplonski commented 3 years ago

Hello Chris,

I didn't see an option as to where you can default the plugin for IOS to be manual instead of automatic. Can you direct me to the setting that would achieve this?

Thanks, Tim