Open gato25 opened 2 months ago
Are there any additional steps required to properly set up audio permissions in a Tauri Android app?
As far as i know what you listed here was enough for others in the past 🤔
https://discord.com/channels/616186924390023171/1207729770775838750 / https://discord.com/channels/616186924390023171/1263134040442277898/1263134040442277898
No idea what the issue could be, maybe it's the wrong AndroidManifest file (can't remember if there are multiple) or maybe the way you enabled audio permissions was wrong/not enough. Can you try adding <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
and see if that makes it prompt for permissions?
Describe the bug
I'm trying to use
navigator.mediaDevices.getUserMedia
to record audio. However, I'm consistently getting a "not-allowed" error, even after adding the necessary permission to the AndroidManifest.xml and granting the permission on the device.Added the following permission to AndroidManifest.xml:
<uses-permission android:name="android.permission.RECORD_AUDIO" />
Manually allowed the audio permission for the app in the Android settings.
Implemented the audio recording using the following code:
Are there any additional steps required to properly set up audio permissions in a Tauri Android app?
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response