home.social

#storekit — Public Fediverse posts

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

  1. Did anyone successfully created and redeemed offer codes with the new StoreKit? When I try to redeem a code I only get “This promotional offer is not available”. I really don't get why …

    #xcode #storekit #iosdev #development #ios #apple

  2. Building a tiered subscription system for iOS 26? This walkthrough covers StoreKit 2 from start to finish - configuring StoreKit configuration files, creating PassIdentifiers, modeling tiers with enums, and building a subscription status observer.

    🔗: createwithswift.com/providing- by Jan Armbrust (@n0rthk1n9)

    #StoreKit #iOSDev #Swift

  3. 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

  4. Can someone tell me if the monthly subscription option has disappeared from my app?

    apps.apple.com/us/app/fretsket

    I'm not seeing it in the .storeKit anymore.

    I don't really mind if it's gone forever, it's just hard to write around not knowing if there's one or two subscription options. Specifically, I'm trying to fix the macOS subscription screen so I can ship the Mac version. #StoreKit #iosDevelopment #macOSDevelopment

    edit: it’s there in the US. I wouldn’t mind hearing from a Canadian, though.

  5. Ready to monetize your app without breaking a sweat? This practical guide walks you through implementing 𝑆𝑡𝑜𝑟𝑒𝐾𝑖𝑡 2 and creating a tip jar UI in SwiftUI. Learn how to handle transactions, validate purchases, and give users an easy way to support your work while you focus on building great features.

    🔗: tiagohenriques.dev/blog/get-pa by Tiago Henriques

    #StoreKit #SwiftUI #iOSDev #Monetization

  6. I'm (re)discovering all new features in StoreKit since iOS 18.2 and the subscription and product views are awesome. It seems very easy to build an in-app purchase experience with first party SDKs developer.apple.com/storekit/

    #IndieDev #StoreKit #iOSDev

  7. 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

  8. Questions about #StoreKit 2 for #Mac apps: Do I really need a server to verify and validate receipts? From what I understand, this can be done locally on-device, but that may be susceptible to tampering.

    On #iOS, this seems less of an issue as jailbreaking would usually be required to crack the app. On the #Mac, however, things are quite different. Should I be looking at third-party solutions such as #FreemiumKit, #RevenueCat or #Superwall instead?

    #Swift #AppStore #macOS #macOSDev #MacDev

  9. Did you know? #FreemiumKit automates App Store Connect subscription/lifetime purchase setup while working with #RevenueCat, #Superwall, or #StoreKit. There's no lock-in!

    Save time on ASC setup and spare yourself countless clicks on that slow website. Perfect for adding subscriptions to any app with ease! Learn more:
    👉 freemiumkit.app

    #iOSDev #SwiftUI #Flutter #IndieDev

  10. 🚀 FreemiumKit 1.16.0 is here—now with Apple Watch support! Easily check premium status on watchOS while keeping purchases on iPhone for the best user experience. 💡

    Learn more: freemiumkit.app/documentation/

    #SwiftUI #watchOS #iOSDev #IndieDev #IAPs #StoreKit

  11. If you're using consumable in-app purchases in your apps:

    1. How do you keep track of consumed credits/coins? UserDefaults, Core Data, SwiftData, etc.

    2. Do you have a restore/sync mechanism so users can access them after reinstall or on another device? Why? How so?

    #iOSDev #AppStore #StoreKit

  12. Our SDK typically hides unnecessary details, but sometimes you need direct access to #StoreKit transactions, like for #analytics. 📡

    With our SDK v1.7.0, you can now access transaction details and even get notified when users make purchases: 👇
    freemiumkit.app/documentation/

    #iOSDev #IAP #IndieDev #IndieHacker #BuildInPublic

  13. So RevenueCat or the StoreKit 2 API? I’ve been hearing tons of great things about RevenueCat. Assuming I go with it, any tips on getting started?

    #RevenueCat #StoreKit #swiftdev #SwiftUI

  14. So it looks like StoreKits Transaction.updates async/await sequence works super reliably with the #Xcode #storekit simulator. But with the #TestFlight store it suddenly does not?!? What about the actual store? Does anyone know? #iosdev #swiftlang

  15. Why is every single thing in Xcode broken? The latest one is this: I can't set the autorenewal subscription rate via tha UI. Whatever the last unit test set it to is what it insists on being, regardless of how the StoreKit Configuration UI is set. Clean build doesn't help. Deleting transactions doesn’t help.

    #StoreKit #macOS

  16. Does anyone know how long it takes an auto-renewing subscription to actually make its way to the app? Does notification get sent to the app before the exact expiry date of the last period, or some time after expiry?

    Put another way, should my app test against the expiry date strictly, or give some leeway? Is it enough to say "to the end of the day it expires?" To the end of the week?

    Note that I'm not talking about the formal Billing Grace Period that Apple accommodates. I just mean a small window in which my app has not yet been informed of a subscription renewal.

    #StoreKit #iAP #macOS

  17. Why might store kit never return from `Product.products(for:)`?

    #StoreKit #macOS

  18. How does one implement a "lifetime subscription" option in StoreKit with a free trial?

    I want to have monthly, annual, and lifetime subscription options for my app, with a one-week free trial. The only way I can see to do it is offer the free trial with the monthly and annual auto-renewing subscription, then add a non-consumable product for a lifetime purchase (which can't have a free trial).

    That forces the user to subscribe to the monthly or annual sub to get the trial, but then if they want to purchase the lifetime sub, I don't think there’s a way to give a prorated refund for the prior subscription (which is normally handled automatically by store kit), is there?

    I swear Apple doesn't think anything through any more.

    #macOS #StoreKit #InAppPurchase

  19. The StoreKit team at Apple so proudly presents StoreKit 2 in the videos.

    Yet the official example code comes with a 270 lines helper class.

    How can engineering teams miss these signs?

    Blows ... my ... mind.

    #apple #api #storekit

  20. Hey @justkwin , there’s no way to share StoreKit purchase information across an app group, is there?

    #StoreKit

  21. 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

  22. If you've ever wondered if App Clips can interact with StoreKit and offer the user a subscription, the answer is No. 😢

    Fingers crossed we get App Clips to macOS and IAP support in App Clips at #WWDC 🤞

    #appClip #storeKit #iap #inAppPurchases