Skip to content

Releases: Cap-go/capacitor-camera-preview

8.1.1

19 Feb 05:09
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 Changelog

Added

  • New aspectMode option to control how camera preview fills available space with cover (fills space, may crop) or contain (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

16 Feb 17:39
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 Changelog

Added

  • Web platform support for video recording with startRecordVideo() and stopRecordVideo() methods using MediaRecorder API

🔗 Full Changelog: 8.0.15...8.1.0

8.0.15

16 Feb 15:23
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 Changelog

Added

  • Video quality control: Added videoQuality parameter 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/app dependency to version 7.1.2

🔗 Full Changelog: 8.0.14...8.0.15

8.0.14

10 Feb 01:27
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 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

04 Feb 02:27
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 Changelog

Added

  • AGENTS.md documentation providing contribution and development guidelines for project agents

🔗 Full Changelog: 8.0.12...8.0.13

8.0.12

02 Feb 07:05
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 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

31 Jan 23:11
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 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

30 Jan 02:28
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 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: rotateWhenOrientationChanged parameter 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

28 Jan 17:46
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 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

26 Jan 12:10
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

🆕 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