Skip to content

posthog-react-native@4.54.4

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Jul 11:14
Immutable release. Only release title and notes can be modified.
e480a3e

4.54.4

Patch Changes

  • #4031 94a0530 Thanks @posthog! - Improve survey display reliability:

    • posthog-js: refresh the cached $surveys definitions after a short TTL (stale-while-revalidate) so server-side changes such as switching a survey from popover to API propagate to long-lived tabs without a page reload.
    • posthog-js: add posthog.surveys.markSurveyAsSeen(surveyId, { iteration }) so custom integrators that render surveys through their own backend can honour the "already seen" and wait-period checks.
    • posthog-react-native: guarantee the survey Modal notifies its parent on close even when iOS Modal.onDismiss fails to fire, so the transparent full-screen modal can no longer stay mounted intercepting touches and freezing the app. (2026-07-03)
  • Updated dependencies [45d1b36]:

    • @posthog/types@1.392.1