Sunday, March 31, 2024
HomeiOS Developmentios - StoreKit 2: Customized buy possibility is not recorded

ios – StoreKit 2: Customized buy possibility is not recorded


The StoreKit 2 perform for buying a product takes an array of choices. One possibility is for setting an app account id, and one other is for setting a customized key/worth pair.

Setting the app account id appears to work nice in that the id could be seen within the transaction after making the acquisition, and is continued indefinitely. Setting a customized key/worth pair, nevertheless, does not appear to do something. The important thing/worth pair does not appear to seem anyplace within the transaction or buy at any time, even instantly after buy() is known as.

The documentation on PurchaseOptions may be very restricted, and there does not appear to be any clarification as to why this occurs. All I’ve discovered is this thread from 2 years in the past the place an Apple engineer states that buy choices are “not essentially returned within the Transaction for the acquisition”. Does this imply that they’re typically included? And if that’s the case, how can I assure that? Has anybody discovered any options, and even a solution as to why Apple would come with a function that works like this?

Docs:



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments