github ROKT/rokt-sdk-ios 5.0.0
Release 5.0.0

10 hours ago

Release 5.0.0

Changelog

Breaking Changes

  • Source distribution: SDK now ships as Swift source instead of a pre-built XCFramework for both SPM and CocoaPods
  • iOS 15 minimum: Deployment target raised from iOS 12 to iOS 15; all @available(iOS 15, *) guards removed
  • execute() / execute2step() / executeWithEvents() removed: Use selectPlacements() with a unified onEvent callback instead of separate onLoad, onUnLoad, onShouldShowLoadingIndicator, onShouldHideLoadingIndicator, and onEmbeddedSizeChange callbacks
  • viewNameidentifier: Renamed across selectPlacements(), events(), purchaseFinalized(), and RoktLayout
  • RoktLayout parameter changes: locationNamelocation; identifier is now required
  • PlacementOptionsRoktPlacementOptions: Type renamed
  • initWith(onInitComplete:) callback removed: Use globalEvents() to listen for RoktEvent.InitComplete instead
  • setLoggingEnabled(enable:) removed: Use setLogLevel(_:) for granular log control

For a complete migration walkthrough with before/after code examples, see the v4 → v5 Migration Guide.

Changed

  • Add trunk security scanning and remove stale Cortex catalog (#114)
  • Bump actions/download-artifact from 7.0.0 to 8.0.1 (#113)
  • Bump actions/create-github-app-token from 2.2.1 to 3.0.0 (#112)

Added

  • Migration guide for v4 to v5 upgrade (#115)

Don't miss a new rokt-sdk-ios release

NewReleases is sending notifications on new releases.