Skip to content

Redacted text showing on android during session replay #234

@AndreasJJ

Description

@AndreasJJ

Version

posthog-react-native: 3.12.0, posthog-react-native-session-replay: 1.0.5

Steps to Reproduce

Reference: https://posthog.com/questions/redacted-data-showing

Redacted text marked with accessibilityLabel="ph-no-capture" shows during session replay on Android.

MRE: https://github.com/AndreasJJ/posthog-session-replay-android-repro

Steps:

  1. Add your own apiKey to the PostHogProvider inside the AnalyticsProvider in the utils folder
  2. Build and run the expo app on an android phone
  3. Check the session replay on posthog
posthog_android_redacted_session_replay.mp4

Expected Result

Redacted text is redacted

Actual Result

Redacted text is periodically shown as the black rectangles go out of position compared to the text on screen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions