Skip to content

Structure

PlayStoreAction

Uploads a release artifact to Google Play and assigns it to a distribution track.

struct PlayStoreAction

Overview

Wraps the GooglePlayUploadService transactional edit→upload→track→commit workflow. Supports both AAB (preferred) and APK artifacts.

Usage

let result = try await PlayStoreAction().run(
    with: .init(
        aabPath: "./build/app-release.aab",
        track: "beta",
        releaseNotes: ["en-US": "Bug fixes and improvements"]
    ),
    context: androidContext
)
print("Uploaded versionCode: \(result.versionCode)")

Topics

Configuration

Results

Initializers

  • init()

    Creates a PlayStoreAction.

Type Properties

Default Implementations

Relationships

Conforms To

  • Action
  • Swift.Sendable
  • Swift.SendableMetatype