Skip to main content

iOS Changelog

1.0.0#

No more prereleases!

πŸš€ Features#

  • Introduced list metadata, see here for more information

0.5.2#

  • Introduced Event payload, see here for more information.

0.5.1#

πŸš€ Features#

  • Introduced Event-Based Tribes, see here for more information.

0.5.0#

πŸš€ Features#

  • Third party plugins support
  • Surface Tribe Ids

0.4.4#

πŸ› Bug Fixes#

  • Switch over to stream.mtribes.com for websocket connection
  • Limit event name to 100 characters for analytics
  • Resolve client.start with error when session is disabled

0.4.3#

πŸ› Bug Fixes#

  • Minor bug fixes

0.4.1#

πŸ› Bug Fixes#

  • Temporarily remove SPM support. Will add it back in future releases.

0.4.0#

πŸš€ Features#

  • Return MTSessionStatus instead of Result in session start handler
  • Only connect web socket when change listener is added
  • Surface scenarioId for experiences
  • Keep server session alive for analytics events

πŸ› Bug Fixes#

  • Changed opacity type in MTColor from Double to CGFloat
  • Updated poll rates

0.3.2#

πŸ› Bug Fixes#

  • Support Date and number contextual properties

0.3.1#

πŸ› Bug Fixes#

  • Added header when connecting to web socket.

0.3.0#

πŸš€ Features#

  • Added hibernation mode - stop polling when app is inactive
    • For iOS, tvOS and macOS, the SDK will hibernate automatically when app is inactive
    • For watchOS, you’ll need to call Mtribes.session.applicationDidEnterBackground() and Mtribes.session.applicationWillEnterForeground() in your ExtensionDelegate’s applicationDidEnterBackground and applicationWillEnterForeground functions respectively.
  • Added Combine framework support
  • Added auto update flag - SDK will not make background request or connect to web socket if no experience is available for the space
  • Renamed public contracts:
    • MTSession.start has renamed to MTSession.startWithCallback
    • MTSession.update has renamed to MTSession.updateWithCallback
    • MTSession.observeSession has renamed to MTSession.changedWithCallback
    • MTExperience.onChange has renamed to MTExperience.changedWithCallback
    • MTSection.onChange has renamed to MTSection.changedWithCallback
  • Introduced new public contracts to support Combine framework:
    • MTSession.start
    • MTSession.update
    • MTSession.changed
    • MTExperience.changed
    • MTSection.changed
  • Analytics improvement: avoid served events on sections

0.2.1#

πŸ› Bug Fixes#

  • Fixed user agent in request header
  • Improved analytics error handling
  • Persist client ID
  • Identify device and platform info
  • Changed section children from function to get-only property
  • Fixed documentation

0.2.0#

πŸš€ Features#

  • Deprecate identify and anonymize in favour of start
  • Add support for CocoaPods!
    • To install the SDK via CocoaPods, add the following in your Podfile:
    pod 'Mtribes'
    Then run pod install in the terminal.

0.1.1#

πŸ› Bug Fixes#

  • Fix property type for date experience.

0.1.0#

πŸš€ Features#

Initial release for Mtribes iOS client SDK. Please visit https://mtribes.com for more information.