Skip to content

Releases: michaelwolz/camera-preview-lite

6.1.1

16 Aug 12:19
5556154
Compare
Choose a tag to compare

Updated documentation and published public npm package

6.1.0

16 Aug 11:59
ae371f8
Compare
Choose a tag to compare
  • Switched to using the virtual builtInTripleCamera, which automatically switches between the three lenses based on the focused object.
  • Set the initial zoom factor to 2 for the builtInTripleCamera to avoid the default use of the ultra-wide-angle lens, which can cause a "fisheye" effect. This zoom factor matches the "1x" setting of the native camera app.
  • Cleaned up camera initialization logic by restructuring the code (this was done to improve performance when starting the capture session)
  • Make high resolution mode work on iOS by using dedicated AVCaptureSession preset photo
  • Removed startRecordVideo() or stopRecordVideo() on Android/iOS. Switch to https://github.com/capacitor-community/video-recorder if you want to use video recording.
  • Placed the camera preview overlay on the correct position when using x and y coordinates
  • Added checkPermissions and requestPermissions method for iOS
  • Fixed rotation logic of images on Android
  • Added some documentation to the code (iOS)