Logo Site EngageLab Full Black
Contact Sales

iOS SDK Changelog

MT iOS SDK v5.5.2

Update Date

  • 2026-11-09

Updates

  • Fixed an issue where the session end event could be lost when data collection was disabled after the app restarted.
  • Fixed an issue where notification permission status could be reported inaccurately during a cold start or when data collection was re-enabled.
  • Optimized user property and session event reporting when switching accounts under the same MA AppKey.

Update Guide

MT iOS SDK v5.5.1

Updates

  • Added an overall MA data collection switch. Set the initial collection state with MTMAConfig.dataCollectionEnabled, and enable or disable collection with setDataCollectionEnabled: after successful initialization.
  • Added isDataCollectionEnabled to return the collection state synchronously. It returns nil if the SDK has not initialized successfully.
  • Collection state is isolated and saved by MA AppKey. Each start: still uses the current configuration; nil or omission enables collection by default. Pass the user’s current consent state during initialization.
  • Disabling stops new collection of events, user properties, UTM, and full device information, and clears existing UTM and MA Push click attribution records. User property write APIs return CODE_COLLECTION_DISABLED (-8) through the callback.
  • Re-enabling recalculates first-launch and first-day flags for the current MA AppKey. A new session starts after recovery succeeds; events from the disabled period are not reported later.

Disabling does not affect initialization, user identifiers, contact information, or message channels, and does not delete previously reported data. This switch controls only the MA SDK. Push SDK behavior and system notification permissions follow their respective settings.

Update Guide

MT iOS SDK v5.5.0

Update Date

  • 2026-09-11

Updates

  • The MA SDK can now be integrated and initialized independently of AppPush. The official SDK is still distributed in the Push bundle; you can integrate MTMA alone or integrate both MTMA and MTPush.
  • The MA AppKey must be set through MTMAConfig.appKey during initialization. Repeated initialization and switching the MA AppKey within the same app process are supported.
  • Added MTMAConfig.resultCompletion and MTMAInitResult to obtain initialization results.
  • Added email and phone to user identities.
  • Added setChannelValueWithChannelId:values:completion: to set contact IDs for third-party Push channels.
  • User properties now support object and object_array values. Added APIs for updating, appending, and removing object_array elements.
  • The legacy MTMAConfig.completion callback is deprecated but remains available. Use resultCompletion instead; when both are set, only resultCompletion is invoked.

Update Guide

MT iOS SDK v5.3.2

Update Time

  • 2026-03-17

Updates

  • Fixed known MA bugs.

Update Guide

MT iOS SDK v5.2.3

Update Time

  • 2025-11-21

Updates

  • Optimized the logic for MA event reporting.
  • Fixed known MA bugs.

Update Guide

MT iOS SDK v5.2.1

Update Time

  • 2025-11-05

Updates

  • Fixed known MA bugs.

Update Guide

MT iOS SDK v5.0.0

Update Time

  • 2025-03-20

Updates

  • Launched the MA feature, which supports reporting the user behavior data required for Marketing Automation on the SDK side, with support for the following API features:
    • Set user identifier
    • Set user contact information
    • Get EUID
    • Set UTM attributes
    • Set and delete user attributes
    • Report events
    • Set the data reporting interval
    • Set the maximum number of cached events
    • Set the session timeout period
    • Data collection control
  • Fixed AppPush bugs.

Update Guide

Icon Solid Transparent White Qiyu
Contact Sales