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

fix: detect and mask out photo library and user photos #261

Merged
merged 6 commits into from
Nov 25, 2024

Conversation

ioannisj
Copy link
Contributor

@ioannisj ioannisj commented Nov 22, 2024

💡 Motivation and Context

Best effort to detect and mask any UIImage which belongs to the user's photo library

We also try to detect system image pickers (and other remote views) and mask those out as well

Docs: PostHog/posthog.com#9968

Before
CleanShot 2024-11-22 at 10 21 23

After
CleanShot 2024-11-22 at 10 19 52

💚 How did you test it?

Locally in UIKit sample project with an image picker view

📝 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.

@ioannisj ioannisj requested a review from a team November 22, 2024 08:48
@ioannisj ioannisj merged commit d940967 into main Nov 25, 2024
7 checks passed
@ioannisj ioannisj deleted the fix/mask-photo-library branch November 25, 2024 13:22
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