@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("
|
|
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
|
}
|
package/ios/Plugin/Plugin.swift
CHANGED
|
@@ -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.
|
|
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:
|
|
18
|
+
Capacitor: 679f9673fdf30597493a6362a5d5bf233d46abc2
|
|
19
19
|
CapacitorCordova: 9fee2eb6780331b6ff09710d6a7d1f2e4707f1b9
|
|
20
20
|
|
|
21
21
|
PODFILE CHECKSUM: e80ffb7ef3a0ac7d0d6143f3e64f287d4d027c84
|