Skip to content
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

feat: add postHogNoMask SwiftUI view modifier #277

Merged
merged 6 commits into from
Dec 27, 2024

Conversation

ioannisj
Copy link
Contributor

@ioannisj ioannisj commented Dec 19, 2024

💡 Motivation and Context

follow up for #275
ticket: https://posthoghelp.zendesk.com/agent/tickets/22163
Docs: PostHog/posthog.com#10226

Add .postHogNoMask() SwiftUI view modifier to explicitly mark a View as non-maskable.
This will help with situations were the SDK unintentionally masks safe views

💚 How did you test it?

TODO

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@marandaneto
Copy link
Member

Next step is to also document this https://posthog.com/docs/session-replay/privacy?tab=iOS

Copy link
Member

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment otherwise LGTM

@ioannisj ioannisj marked this pull request as ready for review December 24, 2024 09:42
@ioannisj ioannisj merged commit b2a7466 into main Dec 27, 2024
8 checks passed
@ioannisj ioannisj deleted the feat/swiftui-skip-mask-modifier branch December 27, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants