Skip to content

bug(BarcodeReader): 组件报错 #6727

@adminyr

Description

@adminyr

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

BarcodeReader组件在.NET MAUI Blazor Hybrid工程中出现错误:
[chromium] [INFO:CONSOLE(1)] "Uncaught (in promise) NotAllowedError: Permission denied", source: https://0.0.0.1/_content/BootstrapBlazor.BarCode/zxing.min.js (1)
但摄像头权限已经打开还是有这错误。

Expected Behavior

BarcodeReader组件在.NET MAUI Blazor Hybrid工程中出现错误:
[chromium] [INFO:CONSOLE(1)] "Uncaught (in promise) NotAllowedError: Permission denied", source: https://0.0.0.1/_content/BootstrapBlazor.BarCode/zxing.min.js (1)
但摄像头权限已经打开还是有这错误。

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

BarcodeReader组件在.NET MAUI Blazor Hybrid工程中出现错误:
[chromium] [INFO:CONSOLE(1)] "Uncaught (in promise) NotAllowedError: Permission denied", source: https://0.0.0.1/_content/BootstrapBlazor.BarCode/zxing.min.js (1)
但摄像头权限已经打开还是有这错误。

Exceptions (if any)

No response

.NET Version

NET9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvestigationInvestigation in progress

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions