iOS SDK v3.0.0
What's Changed
- [Breaking] Removed the experimental feature flag for SwiftUI support, making it enabled by default.
- [Breaking] The
allowMeteredNetworkUsage
,enableWebViewCapture
, anddisableOnLowEndDevices
configuration options inClarityConfig
are moved to the Settings page on the Clarity dashboard. - [Breaking]
setOnNewSessionStartedCallback
is renamed tosetOnSessionStartedCallback
to better reflect its functionality, as the callback can be invoked not only when a new Clarity session starts but also when an existing session is resumed at app startup. - [Feature] Introduced the
startNewSession
API to initiate new sessions. - [Feature] Enabled setting custom screen name tags using
setCurrentScreenName
API. - [Feature] Added the ability to allow or disallow capturing WebViews based on URL patterns defined on the Clarity dashboard.
- [Feature] Added the ability to send custom events to use with the new Smart Events feature.
- [Enhancement] Implemented the capturing of text content from tapped view elements.
- [Enhancement] Enhanced dead tap detection for SwiftUI views.
- [Enhancement] Added initial support for keyboard visualization.
- [BugFix] Addressed various minor bugs.
Full Changelog: https://learn.microsoft.com/en-us/clarity/mobile-sdk/sdk-changelog#ios-sdk-changelog