Closed acn-masatadakurihara closed 6 months ago
Yes I looked into it, StoreKit 2.0 is only available with Swift. However at that time (about 6 months ago) cordova's support for Swift wasn't good (requiring manual changes to source files in the XCode project).
Hopefully when StoreKit 2 becomes a requirement, that will have improved.
Is that why i get this error while trying to verify receipt? The data in the receipt-data property was malformed or the service experienced a temporary issue. { "status": 21002 }
https://developer.apple.com/documentation/appstorereceipts/status It appears to be irrelevant.
At any rate, now that I understand the stance of this plugin, I'll close it for now.
As I recall, if you are getting 21002 on SANDBOX, it is most likely that the infrastructure is simply not in good shape on Apple's end. I have encountered the same event in the past.
So, why are people not complaining yet..Gosh
What do you think i can do, a workaround or something?
Dependence on any platform demands that much patience. All we can do is wait for the storm to pass. Of course, there is always the possibility that the receipt-data is just wrong, so don't forget to look out for yourself.
The receipt validation (verifyReceipt) API for StoreKit 1.0 is now deprecated. This leads me to believe that Apple intends to discontinue support for StoreKit 1.0 in the next major iOS upgrade, but do you have any plans to update to StoreKit 2.0?
https://developer.apple.com/documentation/appstorereceipts/verifyreceipt