camera-preview
camera-preview copied to clipboard
Capacitor plugin that allows camera interaction from HTML code
In our project we found a bug that when starting the camera in its rear mode and using the getSupportedFlashModes method we received an array of all available values: off,...
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...
Android: you can call stop with optional parameter to set WebView's background color iOS: opacity is now preserved during start call and restored when stop is called
**Describe the bug** I'm trying to record video using iOS but the startRecordVideo method doesn't resolve. Same thing with stopRecordVideo **Screenshots** If applicable, add screenshots to help explain your problem....
This PR adds Swift Package Manager (SPM) support for iOS, enabling cleaner integration without CocoaPods. It improves dependency handling in Xcode and aligns with modern Swift development practices.
**Describe the bug** App crashes when plugin stop is called The crash report + a fix proposed by AI are included with this pull request: [pull request with crash report](https://github.com/capacitor-community/camera-preview/pull/386)...
Included in this pull request are a crash report and a fix proposed by AI. I don't have iOS experience, so need someone that is more proficient to review
**Describe the bug** When using CameraPreview, on certain mobile devices (Samsumg Galaxy A53 5G, Con Android 14, One Plus nord, Android 14), the component, despite being configured to occupy only...
**Is your feature request related to a problem? Please describe.** I’m trying to take a picture using the volume buttons and I’m using the library @capacitor-community/[email protected] to capture the volume...
Added native focus ring for Android