Skip to content

Add custom device ID documentation for Swift SDK#2392

Merged
rahul-mixpanel merged 1 commit intomainfrom
ios-device-id-docs
Feb 26, 2026
Merged

Add custom device ID documentation for Swift SDK#2392
rahul-mixpanel merged 1 commit intomainfrom
ios-device-id-docs

Conversation

@rahul-mixpanel
Copy link
Contributor

This pull request adds new documentation to the Swift SDK integration guide describing how to use a custom device ID provider with Mixpanel. The update explains the architectural implications, configuration, and usage patterns for persistent and ephemeral device IDs.

Device ID Customization:

  • Added a section on using the deviceIdProvider closure in MixpanelOptions to implement custom device ID logic, allowing developers to control device ID storage and persistence across .reset() calls.
  • Included example code snippets demonstrating how to set up persistent and ephemeral device IDs via the provider.
  • Added a warning callout about the risks of changing device ID logic after deployment, emphasizing the importance of architectural planning.

@rahul-mixpanel rahul-mixpanel self-assigned this Feb 25, 2026
@rahul-mixpanel rahul-mixpanel requested a review from a team as a code owner February 25, 2026 10:33
@rahul-mixpanel rahul-mixpanel requested review from myronkaifung and removed request for a team February 25, 2026 10:33
@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 26, 2026 5:00pm

Request Review

Copy link

@ketanmixpanel ketanmixpanel left a comment

Choose a reason for hiding this comment

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

LG

@rahul-mixpanel rahul-mixpanel merged commit 9dab83f into main Feb 26, 2026
9 checks passed
@rahul-mixpanel rahul-mixpanel deleted the ios-device-id-docs branch February 26, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants