PostHog / posthog-android

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

recording: fix registering the ViewTreeObserver when its not attached yet #144

Closed marandaneto closed 4 months ago

marandaneto commented 4 months ago

:bulb: Motivation and Context

sometimes the SDK inits so early that the view isn't attached yet.

:green_heart: How did you test it?

running and debugging before view is attached

:pencil: Checklist