Contents

refresh()

Gets the App Store-signed app transaction information from the App Store server.

Declaration

static func refresh() async throws -> VerificationResult<AppTransaction>

Return Value

Returns a VerificationResult with a single AppTransaction.

Discussion

This method queries the App Store server to refresh the app transaction information. This method returns a VerificationResult that contains the App Store-signed app transaction information for your app.

Use this method to get an AppTransaction in the following cases:

This method throws an error if the user cancels the authentication prompt, if there’s no network connectivity, or if the call fails to update the app transaction.