You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using the code almost exactly as is and am having an asynchronous issue where the
onCaptureCompleted
is being called before theonImageAvailable
callback. The problem here is that when onCaptureCompleted is being called, it shows thepicturesTaken
map as empty because thepictureUrl
hasn't been set yet in thesaveImageToDisk
method in theonImageAvailable
callback.The text was updated successfully, but these errors were encountered: