PostHog / posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
https://posthog.com/docs/libraries
MIT License
51 stars 27 forks source link

chore: Change Application opened to application became active for native events #211

Closed marandaneto closed 3 months ago

marandaneto commented 3 months ago

Problem

Closes https://github.com/PostHog/posthog-js-lite/issues/144 https://posthoghelp.zendesk.com/agent/tickets/11961 Depend on the SDK config, the dashboard should use different event names, its better to align that within the SDK

Changes

Technically a breaking change but I don't see many people using captureNativeAppLifecycleEvents anyways, it's written in the changelog. It's hard for support to figure out the multiple scenarios depending on the SDK configuration. Our mobile dashboard templates don't even consider the from_background property anyway, so now using this config (captureNativeAppLifecycleEvents) will match our templates. Added the app version and build to the other integrations.

Release info Sub-libraries affected

Bump level

Libraries affected

Changelog notes

github-actions[bot] commented 3 months ago

Size Change: 0 B

Total Size: 72.8 kB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `posthog-node/lib/index.cjs.js` | 19.7 kB | | `posthog-node/lib/index.esm.js` | 19.7 kB | | `posthog-web/lib/index.cjs.js` | 16.7 kB | | `posthog-web/lib/index.esm.js` | 16.7 kB |

compressed-size-action