Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to commit edit, error: googleapi: Error 403: You must let us know whether your app uses any Foreground Service permissions., forbidden #163

Open
1 task done
jt-gilkeson opened this issue Apr 5, 2024 · 5 comments

Comments

@jt-gilkeson
Copy link

jt-gilkeson commented Apr 5, 2024

Troubleshooting

  • I've searched discuss.bitrise.io for possible solutions.
  • Which version of the step is effected? 3.75
  • Is the issue reproducible with the latest version? YES
  • Does the issue happen sporadically, or every time? EVERY TIME
  • Is the issue reproducible locally by following our local debug guide? NOT APPLICABLE

Useful information

Issue description

We updated the radar library in our project. implementation 'io.radar:sdk:3.9.8'
That library now:
Adds FOREGROUND_SERVICE_LOCATION permission to Android manifest.

The bitrise step to deploy the build to the Play Store now fails with:
Failed to commit edit, error: googleapi: Error 403: You must let us know whether your app uses any Foreground Service permissions., forbidden

If I manually add that permission to my manifest, it then gives two of these errors instead of one.

We've rolled back the library version so that we can deploy, but need guidance on how we can prevent this step from failing when we do update the library.

Bitrise info

Using mapping file from: /bitrise/deploy/app-mapping-20240404223738.txt
Using app from: /bitrise/deploy/app-release.aab
Configuration read successfully
Authenticating
Authenticated client created
Create new edit
 editID: 15281108605623137801
Edit insert created
Available tracks on Google Play:
- production
- beta
- alpha
- internal
Tracks listed
Upload apks or app bundles
Uploading /bitrise/deploy/app-release.aab 1/1
Uploaded app bundle version: 370
 uploaded mapping file for apk version: 370
Done uploading of 1 apps
New version codes to upload: 370
Applications uploaded
Update track
Release version codes are: [370]
Update listing started
Update listing finished
internal track will be updated.
 updated track: internal
Track updated
Committing edit
Failed to commit edit, error: googleapi: Error 403: You must let us know whether your app uses any Foreground Service permissions., forbidden
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | Google Play Deploy (Failed)                                   | 1.2 min |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-google-play-deploy/issues |
| Source: https://github.com/bitrise-io/steps-google-play-deploy               |
+---+---------------------------------------------------------------+----------+
  

Steps to reproduce

Add radar, try to submit a build to the store.

Caveat: The issue might be with Radar's SDK, I have an issue open with them too.

@lpusok
Copy link
Contributor

lpusok commented Apr 5, 2024

You may try uploading your app manually on the UI of Google Play console and try to resolve any warnings there first. After that automated deploy could be continued.

@bitrise-coresteps-bot
Copy link
Contributor

Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.

To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant.
This issue has had no activity for 90 days, so I marked it as stale.

The community would appreciate if you could check if the issue still persists. If it isn't, please close it.
If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".

If no comment left within 21 days, this issue will be closed.

@tsakmalis
Copy link

Hi @jt-gilkeson ,
Have you found any solution in your problem?

@aliyanlatif
Copy link

Hi @jt-gilkeson @tsakmalis , have you guys found any solution for this?

@jt-gilkeson
Copy link
Author

We had to upload manually. So basically I had to change our bitrise steps to create build on bitrise and then manually upload it to the play store, which then prompted for an explanation about the foreground service, which we were able to then submit a response bout how the foreground service was being used, then publish it. Then after that go back and change the bitrise flow to re-enable uploading to the play store for future builds. Kind of a pain, but fortunately you only have to do it once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants