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(replay): Add Mask and Unmask Wrappers for react-native-web #4272

Draft
wants to merge 2 commits into
base: kw/feat/replay-custom-redact-android
Choose a base branch
from

Conversation

krystofwoldrich
Copy link
Member

@krystofwoldrich krystofwoldrich commented Nov 13, 2024

📢 Type of change

  • New feature
  • Enhancement

📜 Description

This PR add the Mask and Unmask wrapper functions for react-native-web.

💚 How did you test it?

expo sample app

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • All tests passing
  • No breaking changes

@krystofwoldrich krystofwoldrich changed the title fix(replay): browserReplayIntegration should not be included by def… feat(replay): Add Mask and Unmask Wrappers for react-native-web Nov 13, 2024
Copy link
Contributor

github-actions bot commented Nov 13, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against feedb68

Comment on lines +6 to +7
mask: ['div.sentry-react-native-mask', ...(options.mask || [])],
unmask: ['div.sentry-react-native-unmask:not(div.sentry-react-native-mask *) > *', ...(options.unmask || [])],
Copy link
Member

Choose a reason for hiding this comment

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

super-tiny-l, but I'd say the div. part is not really necessary here? 🤔 But just a thought, feel free to disregard.

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