PostHog / posthog-android

PostHog Android SDK
https://posthog.com/docs/libraries/android
MIT License
43 stars 23 forks source link

Masking and redacting Jetpack Compose views #158

Closed marandaneto closed 5 days ago

marandaneto commented 2 months ago

Description

See note https://posthog.com/docs/session-replay/android

marandaneto commented 1 month ago

Maybe possible to use the https://developer.android.com/develop/ui/compose/modifiers modifier = Modifier .postHog( isSensitive = true ) or something similar Similar for SwiftUI modifiers.

marandaneto commented 1 month ago

Or a view wrapper:

PostHogMaskView {
    Button(
        ...
    ) {
        Text(
            ...
        )
    }
}