capacitor-community / capacitor-community/camera-preview

captureSample() never fulfills promise

Open
#418 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
227
Forks
185
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The Promise from
`const result = await CameraPreview.captureSample({ quality: 90 });`
never fulfills or rejects. It simply stalls forever. I don't have this issue when using .capture() instead.
Logs show: `⚡️ To Native -> CameraPreview capture 42818283`, but nothing after the await gets executed.

I will add details to reproduce later.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.