Skip to content

onCaptureCompleted being called BEFORE OnImageAvailable #11

Open
@robbykim

Description

@robbykim

Hi,

I'm using the code almost exactly as is and am having an asynchronous issue where the onCaptureCompleted is being called before the onImageAvailable callback. The problem here is that when onCaptureCompleted is being called, it shows the picturesTaken map as empty because the pictureUrl hasn't been set yet in the saveImageToDisk method in the onImageAvailable callback.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions