Post

Replies

Boosts

Views

Activity

Comment on Cannot handle unfinished consumable in Transaction.currentEntitlements when testing Ask to Buy in Xcode
I still don't understand. In the code above, I try to deliver consumable product before I call transaction.finish(). I'm testing for Ask to Buy and I'm not calling transaction.finish() before the transaction approval. I found a blog post similar to this problem: https://iosexample.com/implementing-and-testing-in-app-purchases-with-storekit2-in-xcode-13-swift-5-5-and-ios-15/ It says "In tests I've done transactions for consumables do not remain in the receipt, even if you omit to call finish()."
Dec ’22