thegrizzlylabs / geniusscan-sdk-demo

Demo apps for Genius Scan SDK
30 stars 38 forks source link

Retry button not working with custom config #87

Closed aliza-khu closed 2 months ago

aliza-khu commented 2 months ago

RNGeniusScan.scanWithConfiguration({ source: 'camera', multiPage: false, defaultFilter: 'blackAndWhite', defaultFlashMode: 'auto', })

Please refer to the below video: https://github.com/thegrizzlylabs/geniusscan-sdk-demo/assets/112606371/5d570706-04c7-495d-a03e-bee635f419f3

Once tap on the retry button the camera closes and returns the below response: { "multiPageDocumentUrl": "file:///var/mobile/Containers/Data/Application/-----/Documents/{filename}.pdf", "pdfURL": "file:///var/mobile/Containers/Data/Application/-----/Documents/{filename}.pdf", "scans": [] }

Expected: The user can able to retry and capture it again.

guillaume-tgl commented 2 months ago

We've just published a new version (5.1.0) that fixes this issue? Could you try it out? See the changelog for more details: https://geniusscansdk.com/docs/changelog/

aliza-khu commented 2 months ago

@guillaume-tgl, The new update fixed this issue. Thank you. 🥳