DocumentReader-Android icon indicating copy to clipboard operation
DocumentReader-Android copied to clipboard

Result Status does not always show (strPresentNextPage) -flutter

Open anassrasheed opened this issue 2 years ago • 0 comments

here is my code below

regula_config :

void setRegulaConfig(BuildContext context) { doc.DocumentReader.setConfig({ "processParams": { "scenario": doc.ScenarioIdentifier.SCENARIO_FULL_PROCESS, "returnUncroppedImage": true, "multipageProcessing": true, "dateFormat": "dd/MM/yyyy", }, "functionality": {"showSkipNextPageButton": true}, "customization": { "resultStatusPositionMultiplier": 0.5, } }); }

and here is the code for reading void _regulaEventChannel() { setState(() {}); EventChannel('flutter_document_reader_api/event/completion') .receiveBroadcastStream() .listen((jsonString) => this.handleCompletion( doc.DocumentReaderCompletion.fromJson(json.decode(jsonString)))); } im calling below line after _regulaEventChannel doc.DocumentReader.showScanner();

i Also edited the strPresentNextPage in android res/values & res/values-ar to Scan the other side of the document امسح الوثيقة من الجهة الأخرى

yaml : 

flutter_document_reader_api: ^6.1.0 flutter_document_reader_core_fullrfid: ^6.1.0

anassrasheed avatar May 19 '22 09:05 anassrasheed