Restoring IAPs with StoreKit does not work in Message Extension

Filed rdar://27754552


Attempting to restore purchases from an iOS 10 Message Extension using StoreKit results in the following error:


Error Domain=SKErrorDomain Code=1 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}


App Store Review requires apps with IAP to provide a way to restore purchases. Currently, this API does not work from a message extension.

There was a problem with restoring of purchases in Beta 4 that should be addressed in Beta 5. Could you try this there and let me know what the results are?

TestFlight is now a key part of my development life cycle, so I'm holding up upgrading to Beta 5 until TestFlight supports it. Looks like its taking 2-3 days for that team to get support ready for that.


Once I have confirmed I'll follow up here.

I can confirm this appears to work in Beta 5 now. Thanks

Restoring IAPs with StoreKit does not work in Message Extension
 
 
Q