I’m using Expo 47 with EAS.
Google play console, app bundle explorer lists “com.google.android.gms.permission.AD_ID” under permissions.
Google Play / About this app / App permissions reads: “Advertising ID Permissions”.
However, I am not using any advertising in my app, and would prefer not to confuse the users by listing an irrelevant permission.
Is it that permission still mandatory for Expo, or may I add “com.google.android.gms.permission.AD_ID” to android.blockedPermissions: [ … ] without being rejected/removed from the Google Play?
You can remove permissions from the final AndroidManifest with the blockedPermissions key in your Expo Config. However, you may want to investigate further what package is adding those permissions in the first place (they’re not added automatically as part of React Native or Expo).
I will try migrating from expo-firebase-analytics (which is deprecated anyway) to React Native Firebase per fyi/firebase-migration-guide.md at main · expo/fyi · GitHub and see if AD_ID disappears, otherwise I’ll add it to blockedPermissions and see if Firebase still works without it
I also find it helpful to search for config plugins in the Expo Git repositories (e.g. expo/expo, expo/config-plugins, etc.). e.g. try searching for withPodfileProperties