Join GitHub today
Chrome permission request causes app to close #5400
When I perform a permission request the app stalls for a second and then closes without showing the permission request that normally appears when the app runs in Chrome.
If I open devtools, then the prompt will appear and I'm able to give access and everything works correctly.
The documentation made is sound as if all permissions should already be set to true when the app starts, but because this is a specific USB interface that requires being requested, I'm assuming it doesn't have a pre-existing permission override. Are there any suggestions?
Here's the request code if it matters:
I am running on Windows 10.