iOS getPendingTransactionsIOS

Retrieve all pending transactions in the StoreKit queue.

Iterates Transaction.unfinished to surface transactions still awaiting finish(). See the Apple StoreKit reference.

Signature

swift
func getPendingTransactionsIOS() async throws -> [PurchaseIOS]

Returns#

Promise<PurchaseIOS[]> — array of StoreKit transactions in the iOS-specific shape. See Purchase for the full field reference.

Example

swift
let txs = try await OpenIapModule.shared.getPendingTransactionsIOS()