Post

Replies

Boosts

Views

Activity

Comment on Converting from paid to freemium
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?
Jun ’24
Comment on StoreKit Free Trial Period
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.
Topic: App & System Services SubTopic: StoreKit Tags:
Jun ’24
Comment on How to cancel Auto-renewable subscription by test user in Sandbox environment?
Same problem in July 24. After several weeks of trying to bully the Storekit/Xcode Testing/Sandbox debacle to do something meaningful for a Mac app, I've come to the conclusion that Apple really don't care about Mac apps at all. The stuff just DOESN'T work in any predictable or reliable way on the Mac. The documentation is pretty useless, and virtually everything in the WWDC videos is targeted at iOS.
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’24
Comment on StoreKit 2 AppTransaction failing
Huge thanks for replying. I have no idea how they would do this, or how I would test it. If the fundamental comms with StoreKit/App Store don't work, how can I write code to verify anything? Looking at the code I originally wrote to handle this case of AppTransaction failing, I put some headscratching comments in, basically saying WTF do I do now? I went for asking users to check their connection, restart, and retry.
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’25