title: Does getUserMedia works in ionic-webview in Android app?
body: <p>I have given all the permissions for camera and microphone. Enable CSP in meta tag for the iframe. Still not able to get permission for camera and microphone in getusermedia for iframe.</p>
  
  <p>home.html</p>
  
  <p>ion-content class= 'padding has-subheader'>
    
   
  </p>
  
  <p>app-component.ts</p>
  
  <pre><code>constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, private androidPermissions: AndroidPermissions) 
  {
  platform.ready().then
     (() =&gt; 
        {
  
             statusBar.styleDefault();
             splashScreen.hide();
  
             this.androidPermissions.requestPermissions([
                  this.androidPermissions.PERMISSION.CAMERA, 
                  this.androidPermissions.PERMISSION.MODIFY_AUDIO_SETTINGS,
              this.androidPermissions.PERMISSION.RECORD_AUDIO
             ]);
  
    //navigator.mediaDevices
    navigator.mediaDevices
      .getUserMedia({
        audio: true,
        video: true
      })
      .then(mediaStream =&gt; {
          console.log("Video camera platform ready")
      });
  
  
  });
  }
  </code></pre>
  
  <p>AndroidManifest.xml</p>
  
  <pre><code> &lt;uses-sdk android:minSdkVersion="23" android:targetSdkVersion="26" /&gt;
      &lt;uses-permission android:name="android.permission.RECORD_AUDIO" /&gt;
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
      &lt;uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /&gt;
      &lt;uses-feature android:name="android.hardware.camera" /&gt;
      &lt;uses-feature android:name="android.hardware.camera.autofocus" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
  </code></pre>