Skip to content

posthog-react-native@4.49.0

Choose a tag to compare

@github-actions github-actions released this 17 Jun 04:01
· 31 commits to main since this release
Immutable release. Only release title and notes can be modified.
f495510

4.49.0

Minor Changes

  • #3848 bd07ec4 Thanks @turnipdabeets! - Add a disableRemoteFeatureFlags option and a public updateFlags(flags, payloads?, { merge }) method, for apps that evaluate feature flags outside the SDK (for example on their own backend) and want to supply the results at runtime instead of having the SDK fetch them.

    With disableRemoteFeatureFlags: true, the SDK no longer fetches or evaluates feature flags from PostHog — identify(), group(), and reset() stop triggering /flags requests — while getFeatureFlag() and getFeatureFlagPayload() keep working against the values you supply. Provide those values (with optional payloads) at runtime via updateFlags(flags, payloads?, { merge }); they persist across restarts. This mirrors the web SDK's advanced_disable_feature_flags and updateFlags. (2026-06-17)

Patch Changes

  • Updated dependencies [bd07ec4]:
    • @posthog/core@1.34.0