open camera within webview in ionic v1 App

254 Views Asked by At

I want to access camera within WebView in ionic v1. I have try this code : var options = { location: 'no', clearcache: 'yes', toolbar: 'no' };

   $ionicPlatform.ready(function() {
    $cordovaInAppBrowser.open('https://turncameraon.com/', '_blank', options)
      .then(function(event) {
        // success
        //https://gonative.io/success
      })
      .catch(function(event) {
        // error
      });

  });

but, i didn't get any plugin to access getUserMedia permissions with webview code. how to access getUserMedia permission with webview ?

0

There are 0 best solutions below