Skip to content

CameraXBasic imageCapture.takePicture does not return any callback on my android 10 emulator #314

@tomasmaks

Description

@tomasmaks

I used CameraXBasic in my production app for more than several months, everything was fine until 2 or 3 weeks ago takePicture function stopped returning any callback. I tried to update version and many different ways to implement CameraXBasic on my app, but it doesn't return any callback anymore. Both onError and onImageSaved are not returned.

imageCapture.takePicture(outputOptions, cameraExecutor, object : ImageCapture.OnImageSavedCallback {
                    override fun onError(exc: ImageCaptureException) {
                        Log.e(TAG, "Photo capture failed: ${exc.message}", exc)
                    }

                    override fun onImageSaved(output: ImageCapture.OutputFileResults) {
                    })

Tried versions:
def camerax_version = '1.0.0-beta08'
def camerax_version = "1.0.0-beta10"
def camerax_version = "1.0.0-alpha04"

It seems it doesn't work on many other Android 10 devices either, but works well on Android 9.

I also downloaded CameraXBasic sample app, launched on Emulator and I can't get any response callback there either.

Metadata

Metadata

Assignees

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