Structure
ValidateBundleAction
Validates an Android App Bundle (.aab) or APK for Google Play upload readiness.
struct ValidateBundleActionOverview
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
struct BundleIssueA single issue found during bundle validation.
struct OptionsConfiguration for the validate_bundle action.
struct ResultResult of a validate_bundle run.
Initializers
init()Creates a
ValidateBundleAction.
Instance Methods
func run(with: ValidateBundleAction.Options, context: ActionContext) async throws -> ValidateBundleAction.ResultExecute the action with the given options.
Type Properties
static let description: StringLong-form description for
--helpoutput and documentation.static let name: StringHuman-readable identifier, e.g.
"build","upload".
Default Implementations
Relationships
Conforms To
ActionSwift.SendableSwift.SendableMetatype