I've been trying to test if the StoreKit API returns finished consumables when you fetch all transactions.
I added the SKIncludeConsumableInAppPurchaseHistory key to my Info.plist
I purchased 2 consumables and verified that they show up when you fetch all transactions before I finish them.
But when I fetch all transactions after finishing them, it doesn't contain the finished consumables.
Has anyone had success with this or is this a bug?
I tested using Xcode Version 16.0 (16A242d) running a macOS Catalyst app on Sonoma 14.7 (23H124).
Edit: If I try to get the transaction history using the https://api.storekit-sandbox.itunes.apple.com/inApps/v2/history from my server, I get the transactions back. So it seems like it's a bug on the client side.