Releases: Cap-go/capacitor-camera-preview
Releases · Cap-go/capacitor-camera-preview
8.1.1
🆕 Changelog
Added
- New
aspectModeoption to control how camera preview fills available space withcover(fills space, may crop) orcontain(fits within space, may letterbox) modes
Fixed
- Camera preview not displaying on MIUI/Redmi devices due to transparency rendering issues
- Android camera transparency timing issues that could cause flickering during initialization
- Aspect mode not being preserved when camera session configuration is recreated
🔗 Full Changelog: 8.1.0...8.1.1
8.1.0
🆕 Changelog
Added
- Web platform support for video recording with
startRecordVideo()andstopRecordVideo()methods using MediaRecorder API
🔗 Full Changelog: 8.0.15...8.1.0
8.0.15
🆕 Changelog
Added
- Video quality control: Added
videoQualityparameter to camera start options for both iOS and Android, allowing developers to configure video recording quality
Changed
- iOS video quality handling: Clarified that video quality parameter recommendation and effects are specific to iOS platform behavior
Fixed
- Resume flicker: Fixed black flicker issue that occurred when resuming the camera by properly setting the background color
- Camera preparation: Fixed video quality setting not being applied during camera preparation phase
Dependencies
- Updated
@capacitor/appdependency to version 7.1.2
🔗 Full Changelog: 8.0.14...8.0.15
8.0.14
🆕 Changelog
Fixed
- Camera flip now correctly preserves the centered view configuration when switching between front and rear cameras
🔗 Full Changelog: 8.0.13...8.0.14
8.0.13
🆕 Changelog
Added
- AGENTS.md documentation providing contribution and development guidelines for project agents
🔗 Full Changelog: 8.0.12...8.0.13
8.0.12
🆕 Changelog
Fixed
- Updated CameraX version to 1.5.3 to resolve dependency issues and improve compatibility
🔗 Full Changelog: 8.0.11...8.0.12
8.0.11
🆕 Changelog
Changed
- Added Capacitor version compatibility table to README documenting support for plugin versions v5 through v8, clarifying that the plugin major version follows Capacitor's major version
🔗 Full Changelog: 8.0.10...8.0.11
8.0.10
🆕 Changelog
Fixed
- Android: Background flickering during camera initialization by deferring transparency until camera is ready
- Android: Camera center position loss when app pauses and resumes
- Android: Initial device ID not being set correctly when changing camera devices
- Android: Exposure compensation being reset to 0 when exposure is locked
- Android: Potential race conditions and null pointer exceptions in background restoration
- iOS:
rotateWhenOrientationChangedparameter being ignored on camera initialization - iOS: Physical device orientation tracking using CoreMotion accelerometer for improved orientation detection
- iOS: Single x or y position parameter being ignored during camera start (now matches Android behavior)
- iOS: Unbalanced reference count issue with orientation device notifications
Changed
- iOS: Accelerometer now starts on camera session start for better orientation tracking
- iOS: Orientation detection now uses cached results during capture/crop operations for improved performance
- iOS: Added threshold for flat device orientation to reduce unnecessary updates
Removed
- Prettier configuration file from example app
🔗 Full Changelog: 8.0.9...8.0.10
8.0.9
🆕 Changelog
Changed
- Lock capacitor-swift-pm dependency to version 8.0.0 for improved stability and compatibility
- Add automated CI guard to enforce capacitor-swift-pm version constraint
🔗 Full Changelog: 8.0.8...8.0.9
8.0.8
🆕 Changelog
Changed
- Updated Gradle to version 8.14.4
- Updated capacitor-swift-pm dependency constraint from exact version "8.0.1" to "from: 8.0.1" allowing compatible version updates
🔗 Full Changelog: 8.0.7...8.0.8