Skip to content

Conversation

@FibonacciFox
Copy link

@FibonacciFox FibonacciFox commented Jun 14, 2025

This PR adds PermissionHandler, extending CefPermissionHandler, to handle media access and permission prompts. Key changes:

  • Implemented OnRequestMediaAccessPermission to grant media permissions (camera, microphone).
  • Implemented OnShowPermissionPrompt to allow clipboard, geolocation, and notification permissions.
  • Integrated with CefClient for handler registration.

Tested with both Avalonia and WPF sample apps to confirm functionality for media access (camera, microphone) and permission prompts (clipboard, geolocation, notifications).

image

@cssecautomation
Copy link

cssecautomation commented Jun 14, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@FibonacciFox FibonacciFox changed the title Add BrowserPermissionHandler for Media and Permission Prompt Support Add PermissionHandler for Media and Permission Prompt Support Jun 14, 2025
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

Successfully merging this pull request may close these issues.

2 participants