title: Native iOS app with WebView not asking for camera permissions
body: <p>I am writing an iOS native app with Xamarin. The native app only contains a few lines of code, it's basically a wrapper around a website. The native app itself consists of a WebView which loads a single page application.</p>
  
  <p>The website uses this node package (<a href="https://www.npmjs.com/package/@zxing/library" rel="nofollow noreferrer">https://www.npmjs.com/package/@zxing/library</a>) in order to implement a barcode scanner. The scanner uses the camera on the iPad in order to scan barcodes. When you begin scanning, the website requests permission to access the camera, then starts it to begin scanning.</p>
  
  <p>If I access my website directly through Safari on the iPad, then the scanner works perfectly. When I make the call to begin scanning, Safari requests permission to access the camera, I grant it, and it works.</p>
  
  <p>When I use my native app to access the website (which again, just consists of a WebView) then I never get the permission request to access the camera. The div that the barcode scanner resides within just shows a blank white background.</p>
  
  <p>I have added the NSCameraUsageDescription tag to my Info.plist and given it a sufficiently long description. I added a reference to a NuGet package that allows you to manually request permission to the camera. I also tried manually going into the iPad's app settings and granting camera permissions that way. Nothing has worked. I never get prompted to access the camera. The camera never gets engaged/begins scanning.</p>
  
  <p>I'm confused as to why the scanner works perfectly fine on the iPad within Safari but does not work within the native app?</p>