@capgo/camera-preview 7.24.8 → 7.24.9

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.
@@ -63,7 +63,7 @@ import org.json.JSONObject;
63
63
  )
64
64
  public class CameraPreview extends Plugin implements CameraXView.CameraXViewListener {
65
65
 
66
- private final String PLUGIN_VERSION = "";
66
+ private final String pluginVersion = "";
67
67
 
68
68
  @Override
69
69
  protected void handleOnPause() {
@@ -1947,7 +1947,7 @@ public class CameraPreview extends Plugin implements CameraXView.CameraXViewList
1947
1947
  public void getPluginVersion(final PluginCall call) {
1948
1948
  try {
1949
1949
  final JSObject ret = new JSObject();
1950
- ret.put("version", this.PLUGIN_VERSION);
1950
+ ret.put("version", this.pluginVersion);
1951
1951
  call.resolve(ret);
1952
1952
  } catch (final Exception e) {
1953
1953
  call.reject("Could not get plugin version", e);
@@ -34,7 +34,7 @@ extension UIWindow {
34
34
  */
35
35
  @objc(CameraPreview)
36
36
  public class CameraPreview: CAPPlugin, CAPBridgedPlugin, CLLocationManagerDelegate {
37
- private let PLUGIN_VERSION: String = "7.24.8"
37
+ private let pluginVersion: String = "7.24.9"
38
38
  public let identifier = "CameraPreviewPlugin"
39
39
  public let jsName = "CameraPreview"
40
40
  public let pluginMethods: [CAPPluginMethod] = [
@@ -2196,7 +2196,7 @@ public class CameraPreview: CAPPlugin, CAPBridgedPlugin, CLLocationManagerDelega
2196
2196
  }
2197
2197
 
2198
2198
  @objc func getPluginVersion(_ call: CAPPluginCall) {
2199
- call.resolve(["version": self.PLUGIN_VERSION])
2199
+ call.resolve(["version": self.pluginVersion])
2200
2200
  }
2201
2201
 
2202
2202
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/camera-preview",
3
- "version": "7.24.8",
3
+ "version": "7.24.9",
4
4
  "description": "Camera preview",
5
5
  "license": "MIT",
6
6
  "repository": {