iOS getAllTransactionsIOS
Get the full StoreKit 2 transaction history as PurchaseIOS values. Requires the SKIncludeConsumableInAppPurchaseHistory Info.plist key for finished consumables to be included (iOS 18+).
Iterates Transaction.all. iOS 18+ requires SKIncludeConsumableInAppPurchaseHistory Info.plist key for finished consumables to appear. See the Apple StoreKit reference.
Signature
swift
func getAllTransactionsIOS() 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.getAllTransactionsIOS()