Audio.requestPermissions fails in android build

Hello !
I have troubles having audio permissions to work on android. It works fine in expo go, but not in android.
In the given code, the permission for the camera is asked properly, but when accepted the permission for audio shows only for a fraction of a second and return a not granted status.
Once again, it works fine in expo go.
Is there anything i’m doing wrong ? do you have an idea on how to solve this ?
Thanks you very much community !

  1. SDK Version: 41
  2. Platforms(Android/iOS/web/all): Android (samsung A20e)
import {Camera} from 'expo-camera'
import {Audio} from 'expo-av';

export default () => {
    return (
            <Button onPress={() => {
                Camera.requestPermissionsAsync().then(status => {
                        // audio permission request is only shown for half a second in build mode and is automatically denied permission
                        Audio.requestPermissionsAsync().then(status => {

it is actually worst than i thought: a simple Audio.requestPermissionsAsync() fais to display the authorization popup in android, even not chained to anything elxe

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.