-
Notifications
You must be signed in to change notification settings - Fork 41
Releases: PostHog/posthog-android
core-v6.21.0
b35ee8b Minor Changes
- d64ad52: Add
addExceptionStep(message, properties?)and theerrorTrackingConfig.exceptionStepsconfig (enabled by default, 32 KiB byte budget). Recorded steps are buffered in a rolling, byte-bounded FIFO and attached to every captured$exceptionevent as$exception_steps.
Assets 3
android-v3.51.0
b35ee8b Minor Changes
- d64ad52: Add
addExceptionStep(message, properties?)and theerrorTrackingConfig.exceptionStepsconfig (enabled by default, 32 KiB byte budget). Recorded steps are buffered in a rolling, byte-bounded FIFO and attached to every captured$exceptionevent as$exception_steps.
Assets 3
core-v6.20.0
32e2f62 Minor Changes
- e227aa5: Expose
getAnonymousId()onPostHogInterface. Returns the anonymous ID generated before anyidentify()call — unlikedistinctId(), this does not change after identification.
Assets 3
core-v6.19.1
ccaf0fd Patch Changes
- 52c9094: Deprecate
getFeatureFlagPayloadin favor ofgetFeatureFlagResult, which returns the flag value and payload from a single evaluation.getFeatureFlagPayloadcontinues to work.
Assets 3
android-v3.50.0
32e2f62 Minor Changes
- e227aa5: Expose
getAnonymousId()onPostHogInterface. Returns the anonymous ID generated before anyidentify()call — unlikedistinctId(), this does not change after identification.
Assets 3
android-v3.49.1
ccaf0fd Patch Changes
- 52c9094: Deprecate
getFeatureFlagPayloadin favor ofgetFeatureFlagResult, which returns the flag value and payload from a single evaluation.getFeatureFlagPayloadcontinues to work.
Assets 3
surveysCompose-v0.1.0
182aac5 Minor Changes
-
8632f77: Initial
0.xrelease of the optional Compose survey UI (com.posthog:posthog-android-surveys-compose).
This module is pre-1.0 — its public API may change between minor versions. Add the dependency
alongsidecom.posthog:posthog-androidand setsurveys = true; the core SDK auto-discovers the
delegate from the classpath — nosurveysConfigwiring required.- All seven question / screen types: number rating (NPS 0–10, 1–5, 1–7), emoji rating (3- and
5-face plus thumbs up/down), open text, single choice, multiple choice, link, and the
thank-you / confirmation screen. - Presented in its own window (
ComponentDialog+ Material 3ModalBottomSheet) above the
foreground activity, so it works over both XML and Compose hosts and never interferes with host
navigation. X-button-only dismissal (swipe-down / touch-outside / back are ignored). - Multi-question surveys with server-driven branching; honors the configured popup delay
(surveyPopupDelaySeconds). - Theming from
PostHogDisplaySurveyAppearance— colors, button/placeholder text, input
appearance, and thank-you copy, with sensible defaults and a CSS hex / named-color parser. - Fires
survey shown/survey sent/survey dismissedthrough the host SDK callbacks.
- All seven question / screen types: number rating (NPS 0–10, 1–5, 1–7), emoji rating (3- and
Assets 3
core-v6.19.0
182aac5 Minor Changes
- 8632f77: Surveys: expose
surveyPopupDelaySecondson the publicPostHogDisplaySurveyAppearanceand map it
from the internalSurveyAppearance, so survey UIs can honor the configured popup delay before
presenting a survey.
Assets 3
android-v3.49.0
182aac5 Minor Changes
-
8632f77: Surveys now have a ready-made UI on Android. Add the new optional
com.posthog:posthog-android-surveys-composemodule alongsideposthog-androidand set
surveys = true— the SDK auto-discovers the Compose UI and renders surveys with no extra wiring.The UI is a Material 3 modal bottom sheet presented in its own window above your foreground
activity, so it works over both XML and Jetpack Compose apps and never interferes with your app's
navigation. It covers all survey question types (open text, single / multiple choice, number /
NPS rating, emoji rating, thumbs up/down, link) plus the thank-you screen, multi-question
server-driven branching, the configured popup delay, and theming from your PostHog appearance
settings.Until now the default delegate only logged; you can still provide your own
PostHogSurveysDelegatefor a custom UI. The module is pre-1.0 (0.x).
Assets 3
core-v6.18.0
ac9795a Minor Changes
- 3203bda: Add a public
captureLog()API for capturing logs with optional W3C trace correlation (traceId/spanId/traceFlags), matching iOS, web, and React Native. Theloggerfacade is unchanged.