Skip to content

fix: move getDeviceId() after enabled=true and add android to changeset#488

Merged
dmarticus merged 1 commit intomainfrom
dmarticus/device-bucketing-fix
Apr 13, 2026
Merged

fix: move getDeviceId() after enabled=true and add android to changeset#488
dmarticus merged 1 commit intomainfrom
dmarticus/device-bucketing-fix

Conversation

@dmarticus
Copy link
Copy Markdown
Contributor

@dmarticus dmarticus commented Apr 13, 2026

Summary

  • Moves getDeviceId() call after super.enabled = true in setup() so isEnabled() doesn't short-circuit device ID initialization
  • Adds posthog-android to the changeset for a proper minor version bump

Follow-up to #481 — these two issues were flagged in review but missed before merge.

getDeviceId() was being called before super.enabled = true in setup(),
causing isEnabled() to return false and short-circuit the device ID
initialization. Also adds posthog-android to the changeset for a proper
minor version bump.
@dmarticus dmarticus requested a review from a team as a code owner April 13, 2026 20:38
@github-actions
Copy link
Copy Markdown
Contributor

posthog-android Compliance Report

Date: 2026-04-13 20:42:45 UTC
Duration: 210ms

✅ All Tests Passed!

0/0 tests passed


@dmarticus dmarticus merged commit e9967ed into main Apr 13, 2026
13 checks passed
@dmarticus dmarticus deleted the dmarticus/device-bucketing-fix branch April 13, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants