5.23.0
Minor Changes
-
5e31246: Enable captureApplicationLifecycleEvents by default and align Android config key name.
Application lifecycle events (
Application Opened,Application Backgrounded, etc.) are now captured by default. If you don't want these events, you can disable them:- Dart (recommended): Set
config.captureApplicationLifecycleEvents = falsein your PostHog configuration. - Android (manifest): Add
<meta-data android:name="com.posthog.posthog.CAPTURE_APPLICATION_LIFECYCLE_EVENTS" android:value="false" />to yourAndroidManifest.xml. The legacy keycom.posthog.posthog.TRACK_APPLICATION_LIFECYCLE_EVENTSis still supported. - iOS/macOS (Info.plist): Set
com.posthog.posthog.CAPTURE_APPLICATION_LIFECYCLE_EVENTStoNOin yourInfo.plist.
- Dart (recommended): Set