#How to ask for microphone permissions again after blocking

1 messages · Page 1 of 1 (latest)

upper edge
#

I notice that a big difference between Tauri and Electron (besides the app sizes) is that Electron does not need permission to get microphone data but Tauri does. I want to know how, in case a user accidentally clicks block on the prompt, to reset the permissions and allow the user to retry that prompt. I do not want to give the user something complicated like deleting the EBWebView folder.

upper edge
#

bump

harsh jolt
#

there's currently no API for that.

If you're using v1 you have to delete the webview's cache dir in rust while all windows are closed. The path is C:\Users\<user>\AppData\Local\bundle-id>\EBWebView\

In v2 you can use the webview2 rust bindings which should also work while the webview is open: https://github.com/tauri-apps/tauri/issues/4434#issuecomment-2269456974

upper edge
harsh jolt
#

yes

steel arch
#

Waiting on this too, any estimation when will this be available? Thanks

harsh jolt
#

no, i was out sick for 5 weeks+ so everything has been delayed. that said, we're focusing more on bug fixes or lower hanging fruits right now so it may take a while unless someone contributes it.

steel arch