How to make the purchase of an application using tvOS beta 2?

I am working on a tvOS application that is associated (with the same application identifier) ​​with an iOS application, where the shopping application is fully functional, and I use the same implementation as for the iOS application.

I use an Apple TV development, not just a simulator.

My sandbox tester account is not recognized by Apple TV, and my Request products do not receive a response.

Is there anything specific to StoreKit in tvOS? Thanks

+4
source share
1 answer

I have found the answer. In applications, purchases actually work with beta-2 and the developer of Apple TV.

productRequest ViewController, buyProduct(), iOS.

var productRequest = SKProductsRequest()

+5

Source: https://habr.com/ru/post/1609931/


All Articles