Allow access to camera, geolocation, other Web APIs

I have a concrete proposal on how we can move forward with this in DC Desktop.

Let’s introduce an experimental toggle “Manage webxdc App Permissions”. When enabled, we add a “Pemissions” submenu to the “Edit” menu of the webxdc window that is going to list the permissions as checkboxes, similar to the “Float on Top” checkbox.
No need to think about popups and dynamic permission requests like on Android. Just simple checkboxes.

What do you think?

Update: I implemented this MR (WIP): WIP: feat: a way to grant permissions to webxdcs by WofWca · Pull Request #4008 · deltachat/deltachat-desktop · GitHub

1 Like