title: ZXing Scanner Camera is not activating in UWP and WP 8.1
body: <p>I am using the example code from the ZXing page .
  Details are :</p>
  
  <blockquote>
    <p>Windows 10 Pro N,   Visual Studio Enterprise 2015 ,
    Xamarin.Forms 2.3.1.114 ,  ZXing.Net.Mobile 2.1.47 ,
    ZXing.Net.Mobile.Forms 2.1.4.7</p>
  </blockquote>
  
  <p>I am using below code</p>
  
  <pre><code> btnScan.Clicked+=async(sender,e)=&gt;{
      var scanPage = new ZXingScannerPage ();
      await Navigation.PushModalAsync (scanPage);
      scanPage.OnScanResult += (result) =&gt; 
      {
      scanPage.IsScanning = false; 
      Device.BeginInvokeOnMainThread (async () =&gt; 
      {
      await Navigation.PopModalAsync ();        
      await DisplayAlert("Scanned Barcode", result.Text, "OK");
      });
      };        
      }
  </code></pre>
  
  <p>Also I have added the below line in the MainPage.xml file of the UWP project just before LoadApplication method call</p>
  
  <pre><code>ZXing.Net.Mobile.Forms.WindowsUniversal.ZXingBarcodeImageViewRenderer.Init();
  </code></pre>
  
  <p>Also I have provided access to the WebCam from the application manifest.</p>
  
  <p>When I run the application in Debug or Release mode in the emulator then it opens the scanner but small black/white /red /green square comes and computer webcam is not accessed.
  When I run it as windows 10 app then nothing comes, only blank screen comes.
  When I run it in the real windows 10 mobile, then scanner opens but camera doesn't opens, the white screen with red line opens and camera doesn't activates.
  The same thing happens with WIndows 8.1 also.</p>
  
  <p>Any help would be deeply appreciated. I have wasted lot of time to explore the internet used almost every combination. If anyone have the solution please please provide me.</p>
  
  <p>Note:
  The above code works fine for Android and I am able to scan the bar code and QR code.</p>