Skip to content

Structure

GooglePlayClient

JWT-authenticated HTTP client for the Google Play Developer API (v3).

struct GooglePlayClient

Overview

Mirrors AppStoreConnectClient in structure and usage patterns.

Authentication

Authenticates using a Google Cloud service account JSON key file via OAuth2 service account JWT flow (RS256).

Usage

let client = try GooglePlayClient(serviceAccountJSON: jsonData)
// or
let client = try GooglePlayClient(serviceAccountJSONPath: "/path/to/key.json")

// Use via the upload service
let uploader = GooglePlayUploadService(client: client, packageName: "com.example.app")
try await uploader.uploadAndRelease(aabPath: "./build/app-release.aab", track: "qa")

Topics

Initializers

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype