-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analytics | Add support for super properties and appPlatform #7801
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, LGTM 👍
var isRunning: Bool { postHog != nil && !postHog!.isOptOut() } | ||
var isRunning: Bool { | ||
guard let postHog else { return false } | ||
return !postHog.isOptOut() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much more Swifty 👌
Co-authored-by: Doug <[email protected]>
Co-authored-by: Doug <[email protected]>
Co-authored-by: Doug <[email protected]>
Co-authored-by: Doug <[email protected]>
Quality Gate passedIssues Measures |
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