Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(taxonomy): add React Native and Flutter version properties (#112039)

Anna Garcia24740fe35d7a
diff --git a/frontend/src/taxonomy/core-filter-definitions-by-group.json b/frontend/src/taxonomy/core-filter-definitions-by-group.json
index 8015c443138c..1d71f729946c 100644
--- a/frontend/src/taxonomy/core-filter-definitions-by-group.json
+++ b/frontend/src/taxonomy/core-filter-definitions-by-group.json
@@ -1286,6 +1286,13 @@
"examples": ["3"],
"label": "Feature flag version"
},
+ "$flutter_version": {
+ "description": "The Flutter version of the app that captured the event.",
+ "examples": ["3.44.1"],
+ "ignored_in_assistant": true,
+ "label": "Flutter version",
+ "system": true
+ },
"$geoip_accuracy_radius": {
"description": "Accuracy radius of the location matched to this event's IP address (in kilometers).",
"examples": ["50"],
@@ -2084,6 +2091,13 @@
"examples": ["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)"],
"label": "Raw user agent"
},
+ "$react_native_version": {
+ "description": "The React Native version of the app that captured the event.",
+ "examples": ["0.79.6"],
+ "ignored_in_assistant": true,
+ "label": "React Native version",
+ "system": true
+ },
"$recording_status": {
"description": "The status of session recording at the time the event was captured",
"label": "Session recording status",
@@ -5145,6 +5159,13 @@
"examples": ["3"],
"label": "Feature flag version"
},
+ "$flutter_version": {
+ "description": "The Flutter version of the app that captured the event.",
+ "examples": ["3.44.1"],
+ "ignored_in_assistant": true,
+ "label": "Flutter version",
+ "system": true
+ },
"$geoip_accuracy_radius": {
"description": "Accuracy radius of the location matched to this event's IP address (in kilometers). Data from the last time this user was seen.",
"examples": ["50"],
@@ -6269,6 +6290,13 @@
"examples": ["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)"],
"label": "Latest raw user agent"
},
+ "$react_native_version": {
+ "description": "The React Native version of the app that captured the event.",
+ "examples": ["0.79.6"],
+ "ignored_in_assistant": true,
+ "label": "React Native version",
+ "system": true
+ },
"$recording_status": {
"description": "The status of session recording at the time the event was captured",
"label": "Session recording status",
diff --git a/posthog/taxonomy/taxonomy.py b/posthog/taxonomy/taxonomy.py
index 625a673c7bb0..442e45ca2dce 100644
--- a/posthog/taxonomy/taxonomy.py
+++ b/posthog/taxonomy/taxonomy.py
@@ -817,6 +817,20 @@ CORE_FILTER_DEFINITIONS_BY_GROUP: dict[str, dict[str, CoreFilterDefinition]] = {
"system": True,
"ignored_in_assistant": True,
},
+ "$react_native_version": {
+ "label": "React Native version",
+ "description": "The React Native version of the app that captured the event.",
+ "examples": ["0.79.6"],
+ "system": True,
+ "ignored_in_assistant": True,
+ },
+ "$flutter_version": {
+ "label": "Flutter version",
+ "description": "The Flutter version of the app that captured the event.",
+ "examples": ["3.44.1"],
+ "system": True,
+ "ignored_in_assistant": True,
+ },
"$sdk_debug_replay_internal_buffer_length": {
"label": "Replay internal buffer length",
"description": "Useful for debugging. The internal buffer length for replay.",