Post

Replies

Boosts

Views

Activity

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
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 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 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 When is the unverified branch of AppTransaction.shared entered?
A regression :) Been dealing with Apple regressions for about 15 years, often never fixed. But I'm not bitter... ;)
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’25
Comment on StoreKit 2 AppTransaction failing
We have our own licensing system for web store sales.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’25
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:
Replies
Boosts
Views
Activity
Apr ’25
Comment on Include swift class as an Instance variable in a C++ class
Thanks for the speedy reply. Are you saying my example above should work? I can't see how to include any bridging header(s) in my C++ header file. Factory method - you mean initialise the Swift variable in the MyCppClass class constructor? I can't get Xcode to recognise my Swift type in the context of a C++ header.
Replies
Boosts
Views
Activity
Mar ’25
Comment on “Account Not In This Store” error when trying to purchase non-consumable IAP within TestFlight
Same. Please let us know.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’24
Comment on Auto-renewing Subscription Updates not Arriving
Please see post following this
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’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:
Replies
Boosts
Views
Activity
Jul ’24
Comment on Auto-renewing Subscription Updates not Arriving
The upgrade notifications seem to vary. Sometimes I get the correct ones, sometimes not. Sometimes one, sometimes two. The two are sometimes the same, sometimes not. Very inconsistent. Pretty tricky to use them to make any reliable decisions in code.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’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:
Replies
Boosts
Views
Activity
Jun ’24
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?
Replies
Boosts
Views
Activity
Jun ’24