capacitor-community / capacitor-community/camera-preview
`capture()` and `startRecordVideo()` are NOT working in Android 14
- Dominant language
- Java
- Stars
- 227
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
Throwing error when trying any method:
`{message: 'Camera is not running'}`
```
async recordVid() {
try {
let opt: CameraPreviewOptions = {
position: 'front',
width: window.screen.width,
height: window.screen.height
}
await CameraPreview.startRecordVideo(opt)
await new Promise(resolve => setTimeout(resolve, 5000))
const fileUrl = await CameraPreview.stopRecordVideo()
console.log(fileUrl)
}
catch (err) {
console.log(err)
}
}
```
Getting this error:

Added permissions in manifest:
```
```
Contributor guide
Assessment
This issue has not been assessed yet.