title: Ionic Camera Preview not visible
body: <p>I have a tabs layout and in my first tab I placed a fab with a click event called 'takePicture()'. In this method I check the camera permission and then try to use the camera preview plugin. When I click the button, the camera preview doesn't appear.</p>
  
  <pre><code>takePicture() {
  this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.CAMERA).then(result =&gt; { 
    console.log(result.hasPermission);
    if(result.hasPermission) {
      const cameraPreviewOpts: CameraPreviewOptions = {
        x: 10,
        y: 10,
        width: 100,
        height: 100,
        camera: 'rear',
        tapPhoto: true,
        previewDrag: true,
        toBack: true,
        alpha: 1
      }
  
      this.cameraPreview.startCamera(cameraPreviewOpts).then(
        (res) =&gt; {
          console.log(res)
        },
        (err) =&gt; {
          console.log(err)
        });
    } else {
      console.log('Could not access camera without permission');
    }
  });
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>true
  Camera started
  </code></pre>
  
  <p>Even though it says the camera is started, the preview is not visible. Any help is appreciated!</p>