Skip to content

Structure

ValidateBundleAction

Validates an Android App Bundle (.aab) or APK for Google Play upload readiness.

struct ValidateBundleAction

Overview

Checks basic file format integrity, and optionally runs bundletool validate if bundletool is available on the system.

Usage

let result = try await ValidateBundleAction().run(
    with: .init(aabPath: "./build/app-release.aab"),
    context: androidContext
)
if result.issues.isEmpty {
    print("Bundle is ready for Play Store upload!")
}

Topics

Structures

Initializers

  • init()

    Creates a ValidateBundleAction.

Type Properties

Default Implementations

Relationships

Conforms To

  • Action
  • Swift.Sendable
  • Swift.SendableMetatype