Skip to content

docs(rokt): session management guidance for the kit - #763

Closed
nickolas-dimitrakas wants to merge 1 commit into
rokt/kit-clear-session-on-identity-changefrom
rokt/kit-session-docs
Closed

docs(rokt): session management guidance for the kit#763
nickolas-dimitrakas wants to merge 1 commit into
rokt/kit-clear-session-on-identity-changefrom
rokt/kit-session-docs

Conversation

@nickolas-dimitrakas

Copy link
Copy Markdown
Contributor

What

Kit README section documenting session management — Android counterpart of mParticle/mparticle-apple-sdk#821:

  • the automatic identity-driven behaviour introduced in feat(rokt): end the Rokt session when the mParticle user changes #762, as a transition table (anonymous→known keeps the session; a different known user or a logout ends it)
  • the recommended self-service-terminal pattern: log out (or identify the next customer) between transactions
  • the manual Rokt.clearSession() escape hatch (called on the Rokt SDK directly — Android has no MPRokt facade), when the new session begins, no-op/idempotency notes, and the collision-safety of combining manual + automatic
  • the caching recommendation for shared terminals

Docs only. Stacked on #762 — its base is that branch; retargets cleanly once #762 lands.

🤖 Generated with Claude Code

Documents the automatic identity-driven session behaviour (typed
transitions), the recommended kiosk pattern (logout between customers),
the manual Rokt.clearSession escape hatch, and when the new session
begins. Android counterpart of mParticle/mparticle-apple-sdk#821.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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