github RevenueCat/purchases-ios 5.20.0

latest releases: 5.38.1, 5.38.0, 5.37.0...
5 months ago

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)

Don't miss a new purchases-ios release

NewReleases is sending notifications on new releases.