Skip to content

feat: external session#1648

Merged
Joozty merged 6 commits intomainfrom
feat/external-session
Mar 2, 2026
Merged

feat: external session#1648
Joozty merged 6 commits intomainfrom
feat/external-session

Conversation

@Joozty
Copy link
Member

@Joozty Joozty commented Feb 24, 2026

Description

This PR adds support for sharing a single RUM session between mobile and browser agents by transferring session metadata across app boundaries.

  • Added support for initializing Splunk Web RUM with externally provided session data via sessionMetadata in SplunkRum.init(...).
  • Added SplunkRum.getSessionMetadata() to expose current session metadata for transfer to another agent.

Why

Today, flows that move users between native and browser contexts can create separate sessions (for example, MRUM in mobile and BRUM in browser).
With this change, session metadata can be passed from one agent to another so both sides continue the same session.

Example Scenario

A mobile app opens the system browser (not a webview) for login:

  • Before: one mobile session + one browser session.
  • After: pass session metadata from mobile to browser (for example via URL/deep link payload), initialize Web RUM with it, and continue a single shared session.

Type of change

Delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How has this been tested?

Delete options that are not relevant.

  • Manual testing
  • Added unit tests
  • Added integration tests

@Joozty Joozty force-pushed the feat/external-session branch from 22745c0 to 108d357 Compare February 24, 2026 14:28
@Joozty Joozty self-assigned this Feb 24, 2026
@Joozty Joozty marked this pull request as ready for review February 27, 2026 11:58
@Joozty Joozty requested review from a team as code owners February 27, 2026 11:58
@Joozty Joozty merged commit 185453c into main Mar 2, 2026
10 checks passed
@Joozty Joozty deleted the feat/external-session branch March 2, 2026 11:03
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants