Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onError does not error as expected: Uncaught (in promise) DOMException: Permission denied #7

Open
sharunkumar opened this issue Mar 7, 2024 · 2 comments

Comments

@sharunkumar
Copy link

I have created a sample repo for checking the same: https://github.com/sharunkumar/react-media-devices-testing/blob/main/app/devices.tsx#L7

Steps to reproduce:

  • Run App
  • Deny Camera Permissions when asked

The following error can be seen on the console, but the onError callback is not called:
image

@P-yiush07
Copy link

i can fix this issue, can you assign me ?

@sharunkumar
Copy link
Author

Hi @P-yiush07, thanks for replying. As I am not the owner I won't be able to assign the issue. However, feel free to fork the repo and create a PR with the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants