Thanks for replying. I'll give that a go. I omitted to mention I'm developing a Mac app, but your suggestion sounds good.
I had looked at transaction.offer.paymentMode == freeTrial and assumed that it was indicating the subscription contained an offer as part of it, rather than indicating the trial is active.
It would help if the documentation actually said these things :)
Thanks again.
Post
Replies
Boosts
Views
Activity
Thanks for this - the example is perfect.
Is there a reliable way to test this? I'm trying both Xcode and Sandbox with StoreKit. Using Xcode StoreKit testing I get the current version of my app back (the one I'm building and testing), which doesn't help. Is there a way to inject something into a test environment to simulate a pre-existing user?