element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 480 forks source link

Analytics | Add support for super properties and appPlatform #7801

Closed BillCarsonFr closed 4 weeks ago

BillCarsonFr commented 1 month ago

Add support for posthog super properties (added to all events). The analytics-event dependency has been updated to latest release.

In order to add unit test I had to introduce a protocol interface for PostHog and added some Mock classes.

Fixes https://github.com/element-hq/crypto-internal/issues/322

Pull Request Checklist

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud