0

I have a Xamarin Android App with a Webview2 Renderer. In the WebView i show a angular app with the zxing scanner.

I get the error:

@zxing/ngx-scanner Permission denied
zxing-scanner askForPermission [object DOMException]

If i open the angular app in chrome browser everything works fine.

So i have tried to set the camerapermissions in the xamarinapp itself.
I have done this with this example:
Xamarin - Requesting camera permissions in WebView

The status i have received is: Plugin.Permissions.Abstractions.PermissionStatus.Granted

But this also not work.

The problem is that zxing does not show me any other errors, which makes troubleshooting very difficult. Does anyone have an idea how I can solve the problem?

General Grievance
  • 4,555
  • 31
  • 31
  • 45
soox
  • 1
  • 2

0 Answers0