Open
Description
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.