[Solved] Restore Purchases on tvOS?

Hi.

Unity IAP works great on iOS, but when building on tvOS the purchasing works but not restoring purchases. I get:

RestorePurchases FAIL. Not supported on this platform. Current = tvOS

The reason I’m asking is because Apple rejected my app from the Apple TV App Store because I didn’t implement restoring purchases on the platform. Does this mean I have to write my own implementation? Or is there a checkbox to enable in Unity?

Thanks.

Solution: I was using an old version of the Purchaser.cs script which only considers IPhonePlayer and OSXPlayer to be apple platforms. Restore works fine after I added the tvOS platform. My bad.