Client SDK
Integrating the Passage client SDK into your mobile app. The SDK works with both Passage Connect and Passage Platform.
Overview
The client SDK runs in the user’s mobile app. It manages a webview, connects to the session actor via WebSocket, executes browser commands, and streams telemetry events.
Installation
Details on installing the client SDK package.
Basic usage
- Receive a claim code or session credentials from your backend
- Initialize the SDK with the session URL and client token
- The SDK opens a webview and connects to the session
- Commands from the worker are executed automatically
- When
server.set_interactiveis received, the webview becomes visible for user interaction
Webview management
The SDK manages two modes:
- Automation mode — Webview hidden behind an overlay; commands execute automatically
- Interactive mode — Webview visible; user can interact directly
Event streaming
The SDK continuously streams telemetry events (navigation, network responses, console logs) to the session actor for condition evaluation.
Next steps
- Sessions — Session lifecycle
- Events — Event types
- Connect Quickstart — Account linking flow
- Platform Quickstart — Direct session control
Last updated on