Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.13k stars 341 forks source link

Can't set userFraction to 100% #927

Closed ConorGarry closed 3 years ago

ConorGarry commented 3 years ago

I just want to distributed to a small team of testers in our internal track, I have no reason to make that a staged rollout, I just want the process automated where they all receive it. Setting the userFraction to 1.0 results in error: User fraction must be lower than one, and omitting the field sets it to the default value of 10%. Am I missing something?

SUPERCILEX commented 3 years ago

That field isn't used unless you set the release status to inProgress.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ObranS commented 2 years ago

I have the same issue:

       "code": 400,
       "errors": [
         {
           "domain": "global",
           "message": "User fraction must be lower than one.",
           "reason": "badRequest"
         }
       ],
play {
    serviceAccountCredentials.set(file("../***"))
    track.set("internal")
    userFraction.set(1d)
    releaseStatus = ReleaseStatus.IN_PROGRESS
    resolutionStrategy = ResolutionStrategy.AUTO
    artifactDir.set(file("../../build/app/outputs/bundle/release"))
}