I'm trying to remove a permission that I don't need that is blocking my submission to the App Store: REQUEST_INSTALL_PACKAGES
I use Expo 46 and I put
"android": {
"blockedPermissions": ["android.permission.REQUEST_INSTALL_PACKAGES"],
in my app.json file.
When I run an expo prebuild I'm able to see the permission removed in the generated AndroidManifest. However, when I run an eas build (locally or not) if I decompile with bundletool the aab generated, the AndroidManifest does not show this line removing the permission.
What could be wrong?
Instead, you can simply add
"expo": { "android": { "package": "com.my.app", "permissions": ["REQUEST_INSTALL_PACKAGES"] } }to your app.json file to remove the REQUEST_INSTALL_PACKAGES permission from your app.