alefnode / ubports-apps

Apps for ubports platform
7 stars 10 forks source link

(WhatsWeb) Voice messages can't be sent #17

Closed nicolascolla closed 2 years ago

nicolascolla commented 2 years ago

The WhatsWeb apparmor file lacks the permission "microphone":

{
    "policy_groups": [
         "webview",
         "networking",
         "audio",
         "video",
         "content_exchange",
         "content_exchange_source",
         "keep-display-on"
    ],
    "policy_version": 16.04
}

When you hit the mic button to send a voice message, a pop-up asking you to give access to the mic appears:

However, it seems like this is not as simple as adding "microphone" to the apparmor permissions. If you do that, the same thing happens.

alefnode commented 2 years ago

I will check if last components has access to that devices, when i strart didn't work even with morph

alefnode commented 2 years ago

With this MR we fix this problem ad add permission to send voice messages

https://github.com/alefnode/ubports-apps/pull/28