Skip to content

Add custom device ID documentation for Swift SDK#2392

Open
rahul-mixpanel wants to merge 1 commit intomainfrom
ios-device-id-docs
Open

Add custom device ID documentation for Swift SDK#2392
rahul-mixpanel wants to merge 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 Building Building Preview, Comment Feb 25, 2026 10:33am

Request Review

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.

1 participant