react-native-vision-camera/package/ios/Parsers
Marc Rousavy cf4882b152
feat: Add support for LiDAR, TrueDepth, External (USB) and Continuity Camera Devices (iOS 17) (#1824)
* feat: Add support for LiDAR, TrueDepth, External (USB) and Continuity Camera Devices (iOS 17)

* Rename `devices` -> `physicalDevices`

* fix: Comment out iOS 17 cameras for now

* fix: Move `supportsDepthCapture` to `format`

* fix: Fall back to `wide-angle-camera` for any unknown types

* Update CameraPage.tsx

* `descriptor` -> `physicalDeviceDescriptor`

* Update CameraDevice.ts

* Format

* feat: Expose `userPreferredCameraDevice`

Uses the new iOS 17 API where the user can prefer a default device, otherwise fall back to the first device of the available ones

* fix: Expose as property

* Add TODO comments

* fix: Format code

* fix: Compile below Swift 5.9
2023-09-21 16:29:46 +02:00
..
AVAssetWriter.Status+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVAuthorizationStatus+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice.DeviceType+physicalDeviceDescriptor.swift feat: Add support for LiDAR, TrueDepth, External (USB) and Continuity Camera Devices (iOS 17) (#1824) 2023-09-21 16:29:46 +02:00
AVCaptureDevice.FlashMode+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice.Format.AutoFocusSystem+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice.Position+descriptor.swift feat: New JS API for useCameraDevice and useCameraFormat and much faster getAvailableCameraDevices() (#1784) 2023-09-21 11:20:33 +02:00
AVCaptureDevice.TorchMode+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCapturePhotoOutput.QualityPrioritization+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureVideoStabilizationMode+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVFileType+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVVideoCodecType+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
EnumParserError.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
PixelFormat.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
UIInterfaceOrientation+descriptor.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00