Post

Replies

Boosts

Views

Activity

Reply to SKPaymentTransactionState.purchased not receveid during interrupted purchase
Did you ever find a solution to this? I, too am not able to replicate the the steps in apple's guideline https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/testing_in-app_purchases_with_sandbox/testing_an_interrupted_purchase specifically item #10 does't come up until the app goes to background and then comes back to foreground. Even if I did utilise the         NotificationCenter.default.addObserver(self, selector:#selector(appActive), name: UIApplication.didBecomeActiveNotification, object: nil) and get it to call the transactionObserver, it still doesn't come out. A physical touch on the home button, and then relaunching the app is the only thing that will trigger the purchase again
Dec ’21
Reply to Interrupted IAP not triggering new transaction after resolving interruption
This is the same experience I am seeing as well. Xcode 12.5, IOS14.5 on a physical device. The only way to get the purchase to be "successful" and have the consumable / renewable etc registered by the app is via an app "relaunch" like you said. I tried triggering a transaction observer again on  `         NotificationCenter.default.addObserver(self, selector:#selector(appActive), name: UIApplication.didBecomeActiveNotification, object: nil) ` but it doesn't make a difference. Did you manage to resolve this?
Dec ’21
Reply to Payment queue does not receive a new transaction for Handling Interrupted Purchase - Why?
I am also seeing the same issue as you. Xcode 12. IOS14.5 step 10 per apple docs (https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/testing_in-app_purchases_with_sandbox/testing_an_interrupted_purchase) doesn't get triggered until there is an app relaunch happening Your clue about using restoreCompletedTransactions is at least helping me to update the UI, while it's really a hack, I see no other solution to this scenario as of now. wondering if you were able to resolve this besides using the restore?
Dec ’21
Reply to Unique ID across devices for Apple ID
The Medals are a form of in-App-purchase which are govern by rules provided by apple. https:// support.apple.com/en-gb/HT202023 What is a consumable in-app purchase? You need to buy these items every time you want them, and you can't download them again for free. If you remove and reinstall an app or install an app on a new device, you might lose your consumable purchases. For example, if you install a game on your iPad that you started playing on your iPhone, the game levels will be synced but extra health you've bought on your iPhone won't be synced. About sharing in-app purchases If you use Family Sharing, you may be able to share some subscriptions with family members. Consumable in-app purchases can't be shared.
Nov ’22