Skip to content

Releases: FlineDev/FreemiumKit

1.13.0

15 Nov 01:44
Compare
Choose a tag to compare
  • Deprecates FreemiumKit.preview in favor of FreemiumKit.shared everywhere, which now also works in SwiftUI Previews
  • Adds support for seeing your actual paywall in SwiftUI Previews, but 2 steps are needed:
    1. Press the 'Save Changes to Remote' button in the latest version of FreemiumKit (requires 1.2.2 or later)
    2. Drag & drop your config file in the 'Setup' tab to your Preview Assets.xcassets folder (in addition to Assets.xcassets)

1.12.1

09 Nov 17:21
Compare
Choose a tag to compare
  • Skips transaction verification in non-production environments to avoid potential issues with TestFlight testing.
  • Provides cleaned-up DSYM/DWARF files to avoid a warning when uploading builds with the FreemiumKit SDK.

1.12.0

08 Nov 16:15
Compare
Choose a tag to compare
  • Added freeIf parameter to PaidFeatureButton & PaidFeatureView for freemium features with usage limits

    Example usage with PaidFeatureButton:

    // Let users export 3 PDFs for free, then require subscription
    // - Shows normal button while free exports remain
    // - Shows locked button & paywall after limit reached
    PaidFeatureButton(
        "Export PDF",  
        systemImage: "doc.pdf",
        freeIf: { remainingFreeExports > 0 }
    ) {
        exportPDF()
        remainingFreeExports -= 1
    }

    Example usage with PaidFeatureView:

    PaidFeatureView(freeIf: { usedPremiumContents.count < freeUsageLimit }) {
        Text("Premium Content")  // Shown when subscribed or free condition is met
    } lockedView: {
        Label("Get Premium Content", systemImage: "lock")  // Shown when locked
    }

1.11.0

23 Oct 22:40
Compare
Choose a tag to compare
  • Adds support for dynamically controlling which tiers should be shown in the paywall by providing a showTierInPaywall closure. Learn More

1.10.2

23 Oct 15:12
Compare
Choose a tag to compare
  • Fixes an issue with redeem/restore buttons not fitting into screen on small iPhones. (#5)

1.10.1

12 Oct 13:45
Compare
Choose a tag to compare
  • Fixes a minor issue with the newly supported weekly subscription type.

1.10.0

12 Oct 12:11
Compare
Choose a tag to compare
  • Adds support for preselecting weekly subscription product type.

1.9.2

11 Oct 13:27
Compare
Choose a tag to compare

Products in paywalls are now more reliably sorted by their period length.

1.9.1

10 Oct 16:38
Compare
Choose a tag to compare
  • Fixes a bug inside the new legacyProductsIDsByTier logic which caused old purchases to not get properly detected.
  • Fixes a bug that the paywall didn't auto-close upon successful restoring of a purchase.

1.9.0

08 Oct 11:49
Compare
Choose a tag to compare

Adds a new legacyProductsIDsByTier parameter you can set on FreemiumKit.shared upon app start if you have legacy products on App Store Connect that are no longer part of your paywall, to maintain access for existing customers. This is only needed if you historically had a different set of subscriptions/lifetime purchases and created new ones at a later time. If all your products you ever released are currently on your paywall, you don't need this.