Trouble with permissions in the AAB biuld
Hello team,
I’m running into an issue with my Android build. Even though I’ve tried to remove the READMEDIA* permissions as well as READ/WRITE_EXTERNAL_STORAGE via app.config.js plugins and by limiting android.permissions in app.json to only ["CAMERA", "RECORD_AUDIO"], these unwanted permissions still appear in the final AndroidManifest.xml of the AAB.
It looks like the build process itself is injecting them back in, possibly due to certain Expo modules or the managed workflow. I also noticed that requestLegacyExternalStorage="true" keeps showing up in the <application> tag, which might be related.
Could you advise on the correct way to ensure that only CAMERA and RECORD_AUDIO remain in the manifest, and that all storage/media permissions are completely removed? Is there a recommended configuration or workaround to prevent the build pipeline from re‑adding them?
Thanks.
1 Reply
There should be a setting now in the Settings Tab for adding and removing android permissions.
Try it out and let me know if it works.