Android app bundle has ACCESS_BACKGROUND_LOCATION enabled

For some reason my aab bundle has ACCESS_BACKGROUND_LOCATION enabled by default. I haven’t even declared any permissions in my app.json:

"android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "package": "com.app.app",
      "versionCode": 2
    },

For this reason Google Play Console has been rejecting my app. Is there any way I can remove this permission when I run the build?

Curious if anyone else has run into this issue.

For anyone wondering, I fixed this issue by declaring permissions like this:

"android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "permissions": [],
      "package": "com.app.app",
      "versionCode": 2
    },

Hope this helps anyone who might be running into the same issues

1 Like

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