Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added $is_emulator property in event_properties #24272

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions frontend/src/lib/taxonomy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
description: 'The manufacturer of the device',
examples: ['Apple', 'Samsung'],
},
$is_emulator: {
label: 'Is Emulator',
description: 'Indicates whether the app is running on an emulator or a physical device',
examples: ['true', 'false'],
},
$device_name: {
label: 'Device Name',
description: 'Name of the device',
Expand Down
1 change: 1 addition & 0 deletions posthog/api/test/test_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def mocked_get_ingest_context_from_token(_: Any) -> None:
"$os_version": "14",
"$lib": "posthog-android",
"$lib_version": "3.0.0-beta.3",
"$is_emulator": True,
"$locale": "en-US",
"$user_agent": "Dalvik/2.1.0 (Linux; U; Android 14; sdk_gphone64_arm64 Build/UPB5.230623.003)",
"$timezone": "Europe/Vienna",
Expand Down
Loading