Skip to content

Releases: RevenueCat/purchases-ios

5.20.2

27 Mar 15:51
Compare
Choose a tag to compare

RevenueCat SDK

🐞 Bugfixes

Customer Center

🐞 Bugfixes

  • fix: Hide subscription detail if consumable (#4906) via Facundo Menzella (@facumenzella)

RevenueCatUI SDK

🐞 Bugfixes

🔄 Other Changes

  • chore: Test if Package.swift is valid on CI for older tooling (#4697) via Facundo Menzella (@facumenzella)
  • [Diagnostics]: add NOT_CHECKED value to cache_status parameter of get_offerings_result event (#4919) via Antonio Pallares (@ajpallares)
  • chore: Test action wrapper for customer center (#4916) via Facundo Menzella (@facumenzella)
  • [Diagnostics] add apple_purchase_intent_received event (#4895) via Antonio Pallares (@ajpallares)
  • Fix nokogiri CVEs (#4914) via Cesar de la Vega (@vegaro)
  • Fix build issues and tests in older versions of Xcode (#4909) via Antonio Pallares (@ajpallares)
  • [Diagnostics] add apple_transaction_update_received event (#4904) via Antonio Pallares (@ajpallares)
  • fix build issue in iOS 15 (#4908) via Antonio Pallares (@ajpallares)
  • [Diagnostics] add purchase_started and purchase_result events (#4886) via Antonio Pallares (@ajpallares)

5.20.2-vc-beta.1

27 Mar 20:31
Compare
Choose a tag to compare
5.20.2-vc-beta.1 Pre-release
Pre-release

🔄 Other Changes

Warning: the virtual currency features are currently in beta and may change without notice.

  • Virtual Currency balances via Will Taylor

5.20.1

21 Mar 07:50
Compare
Choose a tag to compare

RevenueCatUI SDK

Paywallv2

🐞 Bugfixes

  • [Paywalls V2] Fixes badges not being overriden (#4900) via JayShortway (@JayShortway)

🔄 Other Changes

  • Skip TrialOrIntroPriceEligibilityCheckerSK2Tests in iOS 15 (#4902) via Antonio Pallares (@ajpallares)
  • [Diagnostics] add apple_trial_or_intro_eligibility_request event (#4894) via Antonio Pallares (@ajpallares)
  • [Diagnostics] add apple_transaction_queue_received event (#4898) via Antonio Pallares (@ajpallares)

5.20.0

18 Mar 13:22
Compare
Choose a tag to compare

RevenueCatUI SDK

🐞 Bugfixes

  • Fix for Chinese locale scripts that aren't supported in iOS 15 (#4889) via Josh Holtz (@joshdholtz)
  • Fallback to using variations of language code, script, and region for unknown Locale (ex: zh_CN will look for zh_Hans) (#4870) via Josh Holtz (@joshdholtz)

Customer Center

✨ New Features

  • Add onCustomerCenterManagementOptionSelected modifier (#4872) via Cesar de la Vega (@vegaro)
  • feat: Refresh customer center and purchases after restore (#4880) via Facundo Menzella (@facumenzella)
  • Deprecates CustomerCenterActionHandler in favor of modifiers (#4844) via Cesar de la Vega (@vegaro)

🔄 Other Changes

  • Fix unit tests: make presentCodeRedemptionSheet() test only run on iOS (#4897) via Antonio Pallares (@ajpallares)
  • Fix possible memory leaks with diagnostics completion blocks (#4892) via Toni Rico (@tonidero)
  • [Diagnostics] add apple_present_code_redemption_sheet_request event (#4893) via Antonio Pallares (@ajpallares)
  • [Diagnostics] Add sync and restore purchases events (#4887) via Toni Rico (@tonidero)
  • [Diagnostics] Add sync purchases tracking (part 1) (#4885) via Toni Rico (@tonidero)
  • [Diagnostics] add get_customer_info_started and get_customer_info_result events (#4881) via Antonio Pallares (@ajpallares)
  • [Diagnostics] Add products start/result events (#4884) via Toni Rico (@tonidero)
  • feat: Use pod_push_with_error_handling instead of pod_push for pushing Pods (#4878) via Facundo Menzella (@facumenzella)
  • Update fastlane plugin (#4879) via Toni Rico (@tonidero)
  • [Diagnostics] Add offerings start and result events (#4866) via Toni Rico (@tonidero)
  • [Diagnostics] fix diagnostics sync retry logic (#4868) via Antonio Pallares (@ajpallares)
  • Fix iOS 14 + 15 unit tests after root error issues (#4873) via Toni Rico (@tonidero)
  • [Diagnostics] add error_entering_offline_entitlements_mode event (#4867) via Antonio Pallares (@ajpallares)
  • Fix crash in SwiftUI previews (#4871) via Antonio Pallares (@ajpallares)
  • chore: Remove unused key from customer center event (#4837) via Facundo Menzella (@facumenzella)
  • chore: EventsManagerIntegrationTests working as expected (#4862) via Facundo Menzella (@facumenzella)
  • [Diagnostics] add entered_offline_entitlements_mode event (#4865) via Antonio Pallares (@ajpallares)
  • Add root error info to public error (#4680) via Toni Rico (@tonidero)
  • [Diagnostics] add clearing_diagnostics_after_failed_sync event (#4863) via Antonio Pallares (@ajpallares)
  • [Diagnostics] add max_diagnostics_sync_retries_reached event (#4861) via Antonio Pallares (@ajpallares)
  • Update customerInfo from an AsyncStream instead of the PurchasesDelegate in the SwiftUI sample app (#4860) via Pol Piella Abadia (@polpielladev)
  • Remove resetting appSessionId for customer center + add appSessionId and eventId to diagnostics events (#4855) via Toni Rico (@tonidero)
  • fix: diagnostics parameter key name (#4859) via Antonio Pallares (@ajpallares)
  • [Diagnostics] add missing parameter to http_request_performed event (#4857) via Antonio Pallares (@ajpallares)
  • Create DiagnosticsEvent.Properties for type safe diagnostics (#4843) via Antonio Pallares (@ajpallares)
  • Have snapshot tests use same encoding as SDK (#4856) via Antonio Pallares (@ajpallares)

5.19.0

06 Mar 09:58
Compare
Choose a tag to compare

RevenueCat SDK

✨ New Features

  • Add hasPaywall property to Offering (#4847) via Antonio Pallares (@ajpallares)

🐞 Bugfixes

  • Fix compilation issues in Xcode 16.3 beta (#4840) via Andy Boedo (@aboedo)
  • Correctly set PaywallsTester app API key by the CI (#4822) via Antonio Pallares (@ajpallares)

Customer Center

✨ New Features

  • feat: Add onClose handler support for CustomerCenter (#4850) via Facundo Menzella (@facumenzella)

RevenueCatUI SDK

🐞 Bugfixes

  • Add default refundWindowDuration to HelpPath.init (#4826) via Will Taylor (@fire-at-will)

Paywallv2

🐞 Bugfixes

  • Add activity indicator to restore purchases button behavior (#4848) via Josh Holtz (@joshdholtz)

Customer Center

✨ New Features

  • feat: Hide refund for purchases in trial period (#4823) via Facundo Menzella (@facumenzella)
  • feat: Don't show refund if free subscription (#4805) via Facundo Menzella (@facumenzella)
  • feat: Introduce refund window to control if a refund is offered for a purchase (#4784) via Facundo Menzella (@facumenzella)

🔄 Other Changes

  • feat: disable postAttributionData requests when in UI preview mode (#4824) via Antonio Pallares (@ajpallares)
  • chore: Disable EventsManagerIntegrationTests till fixed (#4852) via Facundo Menzella (@facumenzella)
  • Run all-tests on main and notify Slack (#4849) via Cesar de la Vega (@vegaro)
  • Fix potential wrong count on diagnosis sync (#4846) via Antonio Pallares (@ajpallares)
  • [Paywalls] Always use normal stack if the relevant axis size is fit (#4842) via Mark Villacampa (@MarkVillacampa)
  • Uses the remote version of purchases-ios for the SwiftUI sample app (#4841) via Pol Piella Abadia (@polpielladev)
  • [Diagnostics] Add extra parameters to applePurchaseAttempt (#4835) via Antonio Pallares (@ajpallares)
  • Use array instead of sets in diagnostics events (#4839) via Antonio Pallares (@ajpallares)
  • chore: Add integration test for analytics events (#4830) via Facundo Menzella (@facumenzella)
  • Update changelog with 4.43.3 and 4.43.4 (#4834) via Mark Villacampa (@MarkVillacampa)
  • [Diagnostics] Add requestedProductIds and notFoundProductIds to appleProductsRequest (#4828) via Toni Rico (@tonidero)
  • Add RCStoreMessageTypeWinBackOffer to Objc API Tester (#4827) via Will Taylor (@fire-at-will)
  • chore: Enable force_unwrapping for SwiftLint (#4820) via Facundo Menzella (@facumenzella)
  • chore: Delete .orig file and ignore in git ignore (#4821) via Facundo Menzella (@facumenzella)
  • Post error test results to Slack (#4404) via Toni Rico (@tonidero)
  • [Paywalls V2] Adds a note on publishing to the missing paywall error. (#4817) via JayShortway (@JayShortway)
  • Adds buildServer.json to .gitignore (#4819) via JayShortway (@JayShortway)
  • Empty strings in proxyURL parameters in Local.xcconfig (#4818) via Antonio Pallares (@ajpallares)
  • [Paywalls] Use CSS linear-gradient spec to compute gradient start/end points (#4789) via Mark Villacampa (@MarkVillacampa)
  • [Paywalls] Add support for shadows in image components (#4797) via Mark Villacampa (@MarkVillacampa)
  • [Paywalls] Fix badge background not using the new background field instead of ba… (#4811) via Mark Villacampa (@MarkVillacampa)
  • fix: workaround to allow using proxy URL in Local.xcconfig (#4810) via Antonio Pallares (@ajpallares)

4.43.4

27 Feb 21:53
Compare
Choose a tag to compare

Other Changes

5.18.0

22 Feb 15:06
Compare
Choose a tag to compare

RevenueCat SDK

🐞 Bugfixes

RevenueCatUI SDK

🐞 Bugfixes

Customer Center

🐞 Bugfixes

  • fix: [AppUpdateWarningView] Tweak buttons bottom alignment and padding (#4807) via Facundo Menzella (@facumenzella)
  • fix: Remove force unwrapping from PurchaseHistoryView (#4794) via Facundo Menzella (@facumenzella)
  • fix: Remove NavigationView/NavigationStack from AppWarningView (#4792) via Facundo Menzella (@facumenzella)

Paywallv2

✨ New Features

🐞 Bugfixes

  • [Paywalls V2] Fixes parsing generic fonts. (#4801) via JayShortway (@JayShortway)
  • [Paywalls V2] Scroll fix for background/padding/border (#4788) via Josh Holtz (@joshdholtz)
  • [Paywalls V2] Add purchase button activity indicator (#4787) via Josh Holtz (@joshdholtz)
  • [Paywalls V2] Add visible property to all components (and overrides to ones that were missing) (#4781) via Josh Holtz (@joshdholtz)

🔄 Other Changes

  • UI preview mode: disable cache updates (#4809) via Antonio Pallares (@ajpallares)
  • UI Preview mode: avoid intro eligibility request (#4800) via Antonio Pallares (@ajpallares)
  • [Diagnostics] Fix store kit error description tracking (#4799) via Toni Rico (@tonidero)
  • Add no quotes hints to build settings in Local.xcconfig.SAMPLE (#4808) via Antonio Pallares (@ajpallares)
  • [Paywalls] Fix onRestoreComplete callback not being called (#4803) via Mark Villacampa (@MarkVillacampa)
  • UI preview mode: disable log in and log out (#4804) via Antonio Pallares (@ajpallares)
  • Config item rename (#4798) via Antonio Pallares (@ajpallares)
  • Use RC API key for local development from local.xcconfig (#4795) via Antonio Pallares (@ajpallares)
  • UI Preview Mode: mock CustomerInfo (#4786) via Antonio Pallares (@ajpallares)
  • [Paywalls V2] Added overflow property to stack (#4767) via Josh Holtz (@joshdholtz)
  • Add Internal support for draft paywall previews (#4761) via Antonio Pallares (@ajpallares)

5.17.0

17 Feb 14:47
Compare
Choose a tag to compare

RevenueCat SDK

Paywallv2

🐞 Bugfixes

  • Fix period abbreviated when multiple days/weeks/months/years (#4769) via Josh Holtz (@joshdholtz)

RevenueCatUI SDK

Customer Center

✨ New Features

  • feat: Dont show cancel path if lifetime subscription (#4755) via Facundo Menzella (@facumenzella)
  • feat: Enable cancellation in CustomerCenter for catalyst (#4768) via Facundo Menzella (@facumenzella)

🐞 Bugfixes

  • fix: Track impression in CustomerCenter only once (#4778) via Facundo Menzella (@facumenzella)
  • Fix for survey answered event not being tracked when not setting a customerCenterActionHandler (#4777) via Cesar de la Vega (@vegaro)

Paywallv2

🐞 Bugfixes

  • Hooks up purchase handler preference keys for Paywalls V2 (#4780) via Josh Holtz (@joshdholtz)
  • Fixed issues with finding some locales (ex: zh-Hans and zh-Hant) (#4771) via Josh Holtz (@joshdholtz)

🔄 Other Changes

5.16.1

05 Feb 19:28
Compare
Choose a tag to compare

RevenueCat SDK

🐞 Bugfixes

  • Always call readyForPromotedProduct on main thread/actor (#4613) via Will Taylor (@fire-at-will)

RevenueCatUI SDK

🐞 Bugfixes

🔄 Other Changes

  • chore: Tweak default copy for dateWhenAppWasPurchased (#4703) via Facundo Menzella (@facumenzella)
  • Rename RC Billing to Web Billing (#4734) via Antonio Borrero Granell (@antoniobg)
  • Document Weak PurchasesDelegate Reference (#4756) via Will Taylor (@fire-at-will)
  • chore: A simple message for posterity (#4758) via Facundo Menzella (@facumenzella)
  • UI preview mode/always fetch offerings (#4754) via Antonio Pallares (@ajpallares)
  • feat: Add tests for customer center events encoding (#4739) via Facundo Menzella (@facumenzella)
  • UI Preview Mode: add extra header to network requests (#4752) via Antonio Pallares (@ajpallares)
  • chore: Avoid gemfile.lock updates by fixing dependencies (#4694) via Facundo Menzella (@facumenzella)
  • UI Preview Mode: mock products (#4735) via Antonio Pallares (@ajpallares)
  • [Paywalls] Add extra gradient previews (#4750) via Mark Villacampa (@MarkVillacampa)

5.16.0

30 Jan 14:25
Compare
Choose a tag to compare

Paywalls v2 Beta is available for everyone!

The days of only 6 paywall templates to choose from are over...

Paywalls v2 has been built from the ground up to allow you to build fully customizable layouts from underlying components, and its available in beta on iOS. We have 12 templates that you can start from with the ability to customize EVERYTHING. Or you can even start from a blank canvas 🤷‍♂️

Please give this a try and let us know all of your feedback!

Note: Paywalls V2 is only available on iOS right now but other platforms will be coming soon™️

RevenueCat SDK

✨ New Features

  • feat: Add paywall tester examples for simpler testing (#4710) via Facundo Menzella (@facumenzella)

🐞 Bugfixes

RevenueCatUI SDK

🐞 Bugfixes

  • [Paywalls] Move SwiftUI previews for badge behind DEBUG flag (#4717) via Josh Holtz (@joshdholtz)

Paywallv2

✨ New Features

  • [Paywalls V2] Remove/replace PAYWALL_COMPONENTS compiler flag and fix OS/platform compile issues (#4727) via Josh Holtz (@joshdholtz)

🐞 Bugfixes

  • [Paywalls V2] Fix footer positioning and bottom padding (#4746) via Josh Holtz (@joshdholtz)
  • [Paywalls V2] Ignore top safe area edges for image (#4744) via Josh Holtz (@joshdholtz)
  • [Paywalls V2] Support variable mapping (#4740) via Josh Holtz (@joshdholtz)
  • [Paywalls V2] Fix footer spacing issues (#4730) via Josh Holtz (@joshdholtz)
  • [Paywalls V2] Fix paywalls badge rendering (#4719) via Josh Holtz (@joshdholtz)

Customer Center

🐞 Bugfixes

🔄 Other Changes