capacitor-camera-module 0.0.57 → 0.0.59

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.
@@ -50,12 +50,16 @@ public class CameraModulePlugin: CAPPlugin,CAPBridgedPlugin,AVCaptureVideoDataOu
50
50
  private var galleryCall: CAPPluginCall?
51
51
 
52
52
  // MARK: - Lifecycle
53
-
54
53
  public override func load() {
55
- bridge?.webView?.isOpaque = false
56
- bridge?.webView?.backgroundColor = .clear
54
+ guard let webView = bridge?.webView else { return }
55
+
56
+ webView.isOpaque = true
57
+ webView.backgroundColor = .white
58
+ webView.scrollView.backgroundColor = .white
57
59
  }
58
60
 
61
+
62
+
59
63
  // MARK: - Camera Permission
60
64
 
61
65
  @objc func checkPermission(_ call: CAPPluginCall) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-camera-module",
3
- "version": "0.0.57",
3
+ "version": "0.0.59",
4
4
  "description": "Plugin to request permissiones view camera take phots",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",