@capgo/camera-preview 7.24.12 → 7.24.13
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.
package/README.md
CHANGED
|
@@ -264,7 +264,7 @@ You will need to add two permissions to `Info.plist`. Follow the [Capacitor docs
|
|
|
264
264
|
|
|
265
265
|
Add `import '@capgo/camera-preview'` to you entry script in ionic on `app.module.ts`, so capacitor can register the web platform from the plugin
|
|
266
266
|
|
|
267
|
-
###
|
|
267
|
+
### Example with Capacitor uploader:
|
|
268
268
|
|
|
269
269
|
Documentation for the [uploader](https://github.com/Cap-go/capacitor-uploader)
|
|
270
270
|
|
|
@@ -1768,7 +1768,7 @@ public class CameraXView implements LifecycleOwner, LifecycleObserver {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
|
-
// not
|
|
1771
|
+
// not working for xiaomi https://xiaomi.eu/community/threads/mi-11-ultra-unable-to-access-camera-lenses-in-apps-camera2-api.61456/
|
|
1772
1772
|
@OptIn(markerClass = ExperimentalCamera2Interop.class)
|
|
1773
1773
|
public static List<app.capgo.capacitor.camera.preview.model.CameraDevice> getAvailableDevicesStatic(Context context) {
|
|
1774
1774
|
Log.d(TAG, "getAvailableDevicesStatic: Starting CameraX device enumeration with getPhysicalCameraInfos.");
|
|
@@ -34,7 +34,7 @@ extension UIWindow {
|
|
|
34
34
|
*/
|
|
35
35
|
@objc(CameraPreview)
|
|
36
36
|
public class CameraPreview: CAPPlugin, CAPBridgedPlugin, CLLocationManagerDelegate {
|
|
37
|
-
private let pluginVersion: String = "7.24.
|
|
37
|
+
private let pluginVersion: String = "7.24.13"
|
|
38
38
|
public let identifier = "CameraPreviewPlugin"
|
|
39
39
|
public let jsName = "CameraPreview"
|
|
40
40
|
public let pluginMethods: [CAPPluginMethod] = [
|