Skip to content

Add PostHog user ID setter#837

Merged
vegaro merged 4 commits into
mainfrom
cursor/add-posthog-user-id-970e
May 6, 2026
Merged

Add PostHog user ID setter#837
vegaro merged 4 commits into
mainfrom
cursor/add-posthog-user-id-970e

Conversation

@vegaro

@vegaro vegaro commented May 5, 2026

Copy link
Copy Markdown
Member

Motivation

Resolves #836

The KMP SDK was missing the setPostHogUserID subscriber attribute convenience method that exists in the native Android and iOS SDKs.

Description

  • Added Purchases.setPostHogUserID(postHogUserID: String?) to the common public API.
  • Wired Android to Purchases.setPostHogUserId.
  • Wired iOS to RCCommonFunctionality.setPostHogUserID.
  • Updated API baseline files and API tester coverage.

Slack Thread

Open in Web Open in Cursor 

Co-authored-by: Cesar de la Vega <vegaro@users.noreply.github.com>
@vegaro vegaro added pr:feat A new feature pr:RevenueCatUI A change to the RevenueCatUI library labels May 5, 2026
@vegaro vegaro marked this pull request as ready for review May 5, 2026 15:04
@vegaro vegaro requested a review from a team as a code owner May 5, 2026 15:04

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some comments but nothing big. Thanks for adding this!

Comment thread core/api/core.api Outdated
vegaro and others added 2 commits May 6, 2026 11:05
@vegaro vegaro enabled auto-merge (squash) May 6, 2026 09:20
@vegaro vegaro merged commit 773da63 into main May 6, 2026
12 checks passed
@vegaro vegaro deleted the cursor/add-posthog-user-id-970e branch May 6, 2026 10:09
@tonidero tonidero mentioned this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:feat A new feature pr:RevenueCatUI A change to the RevenueCatUI library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing setPostHogUserID function

3 participants