Contents

requestStorefrontIdentifier(completionHandler:)

Gets the device’s storefront identifier.

Declaration

func requestStorefrontIdentifier(completionHandler: @escaping  @Sendable (String?, (any Error)?) -> Void)
func requestStorefrontIdentifier() async throws -> String

Parameters

Discussion

You need to get the appropriate storefront before you specify a product, because product identifiers are meaningful within the context of a store.

See Also

Determining capabilities