@capgo/camera-preview 6.5.6 → 6.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -644,7 +644,7 @@ extension CameraControllerError: LocalizedError {
644
644
  case .cannotFindDocumentsDirectory:
645
645
  return NSLocalizedString("Cannot find documents directory", comment: "This should never happen")
646
646
  case .fileVideoOutputNotFound:
647
- return NSLocalizedString("Cannot find fileVideoOutput", comment: "Perhaps you are running IOS < 17 or you are not recording?")
647
+ return NSLocalizedString("Video recording is not available. Make sure the camera is properly initialized.", comment: "Video recording not available")
648
648
  }
649
649
  }
650
650
  }
@@ -387,9 +387,6 @@ public class CameraPreview: CAPPlugin {
387
387
  }
388
388
 
389
389
  @objc func startRecordVideo(_ call: CAPPluginCall) {
390
- if #unavailable(iOS 17) {
391
- call.reject("You cannot record video on IOS < 17")
392
- }
393
390
  DispatchQueue.main.async {
394
391
  do {
395
392
  try self.cameraController.captureVideo()
package/ios/Podfile.lock CHANGED
@@ -1,5 +1,5 @@
1
1
  PODS:
2
- - Capacitor (6.1.0):
2
+ - Capacitor (6.1.2):
3
3
  - CapacitorCordova
4
4
  - CapacitorCordova (2.0.1)
5
5
 
@@ -15,7 +15,7 @@ EXTERNAL SOURCES:
15
15
  :path: "../node_modules/@capacitor/ios"
16
16
 
17
17
  SPEC CHECKSUMS:
18
- Capacitor: 187bd7847b6f71467015a20200a1a071be3e5f14
18
+ Capacitor: 679f9673fdf30597493a6362a5d5bf233d46abc2
19
19
  CapacitorCordova: 9fee2eb6780331b6ff09710d6a7d1f2e4707f1b9
20
20
 
21
21
  PODFILE CHECKSUM: e80ffb7ef3a0ac7d0d6143f3e64f287d4d027c84
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/camera-preview",
3
- "version": "6.5.6",
3
+ "version": "6.5.8",
4
4
  "description": "Camera preview",
5
5
  "author": "Martin Donadieu <martindonadieu@gmail.com>",
6
6
  "license": "MIT",