Open HaoboGu opened 10 months ago
These are chromium-only apis, and are not supported on other webwiev engines which are used by tauri. A possible workaround would be using rust usb library.
Hi, I'm also interest in getting this feature implemented.
Can't it be guarded behind some kind if feature flag, and exit the build process if the webview engine isn't supported?
Describe the problem
Electron has APIs for device accessing, like webhid/webusb/webserial. I cannot find any equivalent in tauri. Electron also provides a way to skip the popup to grant access of the device.
reference: https://www.electronjs.org/docs/latest/tutorial/devices#webhid-api
Describe the solution you'd like
Add same APIs
Alternatives considered
No response
Additional context
No response