You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you call toggleContentShare if the user hasn't given permission you can't catch the error and display a helpful message to assist them in fixing their permissions.
What happened and what did you expect to happen?
When you call toggleContentShare if the user hasn't given permission you can't catch the error and display a helpful message to assist them in fixing their permissions.
https://github.com/aws/amazon-chime-sdk-component-library-react/blob/main/src/providers/ContentShareProvider/index.tsx#L131
The above code should either await or return the promises so that the caller can catch any error.
Have you reviewed our existing documentation?
Reproduction steps
.catch
or wrap in atry/catch
Amazon Chime SDK React Components Library version
3.4.0
What browsers are you seeing the problem on?
all
Browser version
all
Device Information
all
Meeting and Attendee ID Information.
No response
Browser console logs
Uncaught (in promise) DOMException: Permission denied by system
Add any other context about the problem here.
No response
The text was updated successfully, but these errors were encountered: