Structure
GooglePlayClient
JWT-authenticated HTTP client for the Google Play Developer API (v3).
struct GooglePlayClientOverview
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
init(serviceAccountJSON: Data) throwsCreates a
GooglePlayClientfrom raw service account JSON data.init(serviceAccountJSONPath: String) throwsCreates a
GooglePlayClientby reading a service account JSON file from disk.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype