github PostHog/posthog-js posthog-react-native@4.60.0

latest release: posthog-js@1.407.2
5 hours ago

4.60.0

Minor Changes

  • #4219 96bd6b6 Thanks @ablaszkiewicz! - feat(react-native): Expo plugin dotenvFile option + fix com.posthog.android never being applied

    New dotenvFile prop on the Expo config plugin: path to a dotenv file with POSTHOG_CLI_* credentials, delivered to every upload hook as POSTHOG_CLI_DOTENV_FILE (Xcode build setting on iOS, posthog.dotenvFile gradle property on Android — hermes, dSYM, and R8 mapping uploads; the injected com.posthog.android gradle plugin is bumped to 1.4.0, the first version that reads the property). No more exporting credentials into the shell/daemon environment; process env still wins, a missing file is a warning. Requires posthog-cli >= 0.8.4.

    Also fixes uploadNativeSymbols on Android: mod ordering made the plugin inject the com.posthog.android classpath but silently skip the apply plugin line, so mapping uploads never ran. (2026-07-23)

Patch Changes

  • Updated dependencies [6c8fde0]:
    • @posthog/core@1.45.1

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.