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.