Manoel Aranda Neto

Results 1021 comments of Manoel Aranda Neto

> Ah, I see. Also going through `posthog-js`, it seems that an "identify" event is captured only when `new_distinct_id !== previous_distinct_id && isKnownAnonymous` is `true`, however in `posthog-android`, it is...

@curliq thanks for the issue. Sadly this is an issue with Compose, since the classes are wrapped/autogenerated, not sure if there's a way to do this correctly when using compose....

The order of `loadLabel` is: `android:label` from the Activity. If not defined, `android:label`, from the `application` tag. Otherwise the Activity class name (absolute such as `com.posthog.android.sample.MainActivity`) so there's no fallback...

The issue [above](https://github.com/PostHog/posthog-android/issues/150#issuecomment-2270622674) indeed has nothing to do with Compose, the problem with Compose is that usually, it's a single Activity (not always tho), so it's always gonna be eg...

https://github.com/PostHog/posthog.com/pull/9113 so the current fallback is documented as well.

> I'm a little confused now, according to this doc, is it correct to return the android:label of the `` if the android:label of the `` is not defined? >...

@thisames left a few comments otherwise all good.

A similar issue that would be solved by a solution to continue the trace thru the same process. https://github.com/getsentry/sentry-dart/issues/721 It works with the [current workaround](https://github.com/getsentry/sentry-dart/issues/721#issuecomment-1023125360) but this is semantically wrong...

> I think the reason might be that they've [enabled R8 full mode by default](https://android.googlesource.com/platform/tools/base/+/379d2f864025130c01bb6ded1e840229dff25d6a), I'm not fully sure what's the AGP version where the switch was made from disabled...

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.