Releases: mParticle/mparticle-apple-sdk
Version 7.12.4
Core
User Agent Collection
-
This release restores support for automatic collection of browser user agent by the SDK.
-
This release also deprecates the Cart API. The Cart API was originally designed to maintain and hold on to product objects to be appended automatically to Commerce events. Over time we have found it to be better practice for the hosting app to maintain shopping cart state rather than the mParticle SDK. In place of the Cart API, please include all of the applicable product objects with each Commerce event.
Kits
- Updates for iOS 13
Version 7.12.3
Core
- This release fixes a typo that caused
MPEvent
attributes to return nil if the deprecatedinfo
property was used. Due to our kits not yet having been updated to use the new property name, this was resulting in empty event attributes dictionaries being forwarded to kits.
Version 7.12.2
Core
- This release fixes Commerce events collected over the
WKWebView
bridge. Previously, the mapping of Web SDK-defined product-actions to Apple SDK product-actions was incorrect.
Version 7.12.1
Core
-
This release rolls back a change to the
MPEventType
enum that caused problems with Swift compatibility and adds Swift unit tests to ensure this API remains stable going forward. -
Guard against potential crash if null product array is received from JS webview integration
Kits
- None
Version 7.12.0
mParticle Media SDK
This release introduces support for the mParticle Apple Media SDK!
Media tracking capabilities have been added by creating a separate module that you can add to your project in addition to the core SDK.
For more details, see the Media SDK repository: https://github.com/mParticle/mparticle-apple-media-sdk
Other items
-
You may notice that our main
MParticle#logEvent:
API has been changed to take a different type of parameter. This should not affect your code, except you can now pass commerce events to that method in addition toMPEvent
objects. -
This release also includes a change to improve session management in cases where the background timer was not allowed to run by the OS.
Version 7.11.0
iOS 13 Official Support
Push Registration
If you are collecting push registration tokens and using them for server-side integrations, this is a critical update. If you are only registering for push via kits (such as Braze), you can use iOS Braze kit 7.10.7 or later with iOS 13.
UIWebView and User Agent Collection
Support for UIWebView has been removed. User agent collection has been disabled in this release. You may manually supply the user agent to the MParticleOptions object on SDK initialization if required.
Version 7.10.5
Core
- Ensure user attributes are filtered on FilteredMParticleUser
- Simplify APIs and options used to start the SDK
Kits
- Braze - Update API usage for endpoint and location
- Firebase - Standardize custom attribute keys and values
- Adobe - Fix linker error if modules are disabled
Version 7.10.4
Critical Bug Fixes
This release fixes a critical bug in SDK versions 7.8.6 and later where uploads could be prematurely deleted if the network request failed due to the device being offline.
This release also fixes a crash while migrating the SDK's internal database. The crash occurs for apps that had opted into manual-session tracking in a previous version of the SDK, and then upgraded to the latest version of the SDK.
Core
- Bugfix for upload response processing
- Fix session id migration for messages and uploads
Kits
- Appboy - Update endpoint override logic
Version 7.10.2
Core
Note: To ensure proper validation, this release updates the userIdentities property of MPIdentityApiRequest to be an immutable dictionary.
If you happened to be modifying this dictionary directly, you will need to update your code to call setUserIdentity:identityType: instead.
- Don't allow direct mutation of request identities
- Guard against nil events
Kits
- Button - Update kit to use Button Merchant Library
Version 7.10.1
Core
- Update for Xcode 11
- Respect max age expiration for configuration requests
Kits
- Update Urban Airship import statements