expo-av package add recording permission without using audio recording feature ?

Please provide the following:

  1. SDK Version: 45
  2. Platforms(Android/iOS/web/all): Android
  3. expo-av

In my one project where I need to show videos so I use expo-av but expo-av package add RECORD_AUDIO permission in the app. how can i remove the RECORD_AUDIO
from the app. I use expo manage workflow and EAS to build the app. and app.json config not working.

    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/logo.png",
        "backgroundColor": "#FFFFFF"
      },
      "permissions": [],
      "blockedPermissions": [
        "RECORD_AUDIO"
      ]
    }

Hi @abinashphulkonwar

I think you have to use the fully-qualified permission name: android.permission.RECORD_AUDIO

Hey @wodin
Thank you for your help
It works

1 Like

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