cordova-plugin-purchase icon indicating copy to clipboard operation
cordova-plugin-purchase copied to clipboard

Appstore Transaction.isAcknowledged for non-consumable products

Open DavidTalevski opened this issue 1 year ago • 1 comments

Is there a way to mimic the behavior of Play Store transactions with Transaction.isAcknowledged when dealing with App Store transactions? In my case when I don't finish a non-consumable transaction it has the same state as when I finish a non-consumable transaction. This makes it impossible to distinguish them at app launch, meaning we can't know whether the transaction has been finished previously or not. The way I implemented is that when you buy a product, a prompt is given to the user making them press a button to claim their rewards, when they press a button the transaction is finished. This makes it easy to know, at app restart, whether the product rewards have been given out to the user and the transaction finished, but I can't seem to replicate this on iOS since I am missing the isAcknowledged flag. Is there any way to create this same behavior on iOS?

DavidTalevski avatar Aug 10 '23 11:08 DavidTalevski