BlinkReceipt / blinkreceipt-android

MIT License
49 stars 16 forks source link

cannot find a way to seek for duplicate receipt #13

Closed lavi-moolchandani closed 3 years ago

lavi-moolchandani commented 3 years ago

I am using the android sdk and currently developing an app which requires the receipts to be scanned once only, now I saw the detect_duplicate flag in the blink receipt APIs and want to implement that in the android app as well, is there any way to detect duplicate from the SDK as well.

pequots34 commented 3 years ago

You can set it on the scan options.

ScanOptions.newBuilder() .detectDuplicates(true) .build();