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

When userFraction is not set, PlayStore console sets the rollout percentage to 1% #200

Open
1 task
rafaelvcaetano opened this issue Nov 6, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@rafaelvcaetano
Copy link

Describe the bug
When the userFraction parameter is not set, the release overview in PlayStore shows a default rollout percentage of 1% instead of the expected 100% (see image below).

image

Workflow Step Configuration

- name: Create Play Store Release
  uses: r0adkll/[email protected]
  with:
    serviceAccountJsonPlainText: ${{ <<REDACTED>> }}
    packageName: <<REDACTED>>
    releaseName: ${{ steps.release_params.outputs.VERSION }}
    releaseFiles: <<REDACTED>>
    track: beta
    inAppUpdatePriority: 2
    status: draft
    whatsNewDirectory: <<REDACTED>>
    mappingFile: <<REDACTED>>
    debugSymbols: <<REDACTED>>

Step Debugging

@rafaelvcaetano rafaelvcaetano added the bug Something isn't working label Nov 6, 2023
@boswelja
Copy link
Collaborator

boswelja commented Feb 7, 2024

That's an interesting one. In theory, that's impossible, since we default to a "complete" rollout, which cannot have a user fraction set (Google Play forces 100%, it's an error to even specify it).

Does this happen consistently? If so, please try enabling debug logging and share the output

@rafaelvcaetano
Copy link
Author

rafaelvcaetano commented Mar 11, 2024

Sorry for leaving this here for so long. So, it turns out that the userFraction parameter is ignored by Play Developer API if the release status is set to draft, which is what I had. It seems to default to 1%. If set to completed, everything works fine. It was just a misunderstanding from my part that I only got clarified once I read the API's documentation. Maybe it's a good idea to leave that clear in the README to remove any confusion from future users, but I'll leave that up to you 🙂

@boswelja
Copy link
Collaborator

Sounds like a good idea to me, I didn't know about that behaviour either 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants