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()."
Topic: App & System Services SubTopic: StoreKit Tags:
Dec ’22
Comment on Cannot handle unfinished consumable in Transaction.currentEntitlements when testing Ask to Buy in Xcode
Thank you so much! I didn't notice the document had changed. Transaction.unfinished worked!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’23
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()."
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on Cannot handle unfinished consumable in Transaction.currentEntitlements when testing Ask to Buy in Xcode
I accidentally marked this as "solved" while it is not
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’22