iOS SDK 5.5.0
over 1 year ago by Matteo Melis
Duration KPIs
- Add "duration KPIs", a way to record time spent between two points in time, usually time spent on a screen.
StatsManager.shared.startDurationKpi(),StatsManager.shared.endDurationKpi()andStatsManager.endAllDurationKpis()public func startDurationKpi(tag: String, context: Stats.Context? = nil) public func endDurationKpi(tag: String) public func endAllDurationKpis() - Documentation : https://appspanel.readme.io/docs/ios-duration-kpi
Version module
- Add a dialog shown to the user if the app version is older than the one configured in the backoffice.
This was previously usually done with thedialogmodule.
DefaultRemoteConfiguration.json
- Replace uses of any
.apnl.wswith.apnl-cloud.com - Remove components
ad,poll,location,crash,noteandlog, andparametersobject - Add component
rating - Replace/update component
feedback
Log module
- Remove default
clientToken, you now have to provide it to the SDK from the app withLogger.configure(environment: "env", clientToken: "clientToken")
Dependencies upgrades
Alamofire5.5.0->5.9.1DatadogSDK (1.17.0)->DatadogCore (2.8.1)+DatadogLogs (2.8.1)(now separate pods starting from 2.0)Sourcery2.0.2->2.2.2