Skip to content

[v8.0.0] Issue retrieving croppedImage and AutoReleasable exception in CheckScanner #116

@nikiemaismael

Description

@nikiemaismael

Environment:

Flutter version: (3.35.4

SDK Version: scanbot_sdk: 8.0.0

Platform: Android (Java 21 / Gradle 8.5)

The Issue:
I am unable to retrieve the check image after a successful scan.

  1. Even with configuration.captureHighResolutionImage = true, the croppedImage field in the result is always null.

  2. I am getting the following error: UnknownException: Exception: AutoReleasable objects must be created within autorelease.

Questions:

  1. How should I wrap the scanner call in v8 to handle AutoReleasable objects correctly?

  2. Is there a specific output setting required to ensure the image is persisted and returned in the CheckScannerUiResult?

Image

)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions