home.social

#storekit2 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #storekit2, aggregated by home.social.

  1. StoreKit 2: has anyone seen Transaction.updates or Product.SubscriptionInfo.Status.updates stop emitting after the first purchase? In my app the initial transaction is observed (user-initiated or via Xcode Transaction Manager) but subscription renewals and later transactions never arrive. Same StoreKit config works perfectly in a fresh minimal project. Any known pitfalls or fixes? Happy to share details in a thread.

    #StoreKit2 #StoreKit #InAppPurchase #Swift #Xcode

  2. I’m happy to build the payment system in #StoreKit 2, but the server-side requirement is a blocker for me as I’ve no experience with backend development, which makes third-party solutions look tempting.

    Any advice from other #Mac developers?

    #Swift #StoreKit2 #AppStore #macOS #macOSDev #MacDev

  3. I wonder if this error from RevenueCat is important or whether it's just Apple's sandbox being broken as usual. The same error comes a couple of time when my app starts up. RC has been very solid over the years though, while Apple's backends are mostly a joke, so my money is on the sandbox being broken.

    #ios #storekit2 #revenuecat #bork #tag

  4. Does anyone have any examples of formatting StoreKit 2 product information at run time? The objects have some variations of `displayName` and `localizedName` that are easy enough to test, but others have `formatted(_:)`, and I can’t figure out what to pass to that (because, as usual, Apple documentation is sorely lacking).

    I’d like to render things like in this example, in a localized way. The price/period isn’t hard to do, but how about the savings description? I wrote some code to do this with Store Kit 1 and NSLocalizedString. But I used things like `locale` objects provided in those data structures, and computed string keys on the fly, something I don't seem to be able to do with `String(localized:)`.

    #StoreKit #StoreKit2 #InAppPurchase #iOS #macOS