Skip to main content

SDK surfaces

Transport compatibility

A shared transport name does not establish cross-platform interoperability. In particular, iOS MultipeerConnectivity is not Android Wi-Fi Direct. Qualify the exact device pair and path; use BLE for the phone quickstart.

Before you deploy

Confirm radio roles, permissions, background execution, payload size, battery use, storage capacity and restart behaviour on the actual hardware. Test internet loss separately from peer-link loss. A simulator build checks application integration, not radio delivery. See React Native installation, Python and embedded integration.

Obtain relay access

Turn on Hosted relay in the application’s Mesh SDK tab in the developer portal. Every plan includes relay deliveries (10,000 a month on Free), and usage beyond the quota is billed at the published rate; see hosted plans and usage. Each device authenticates to the relay with its signed-in user’s OfflineID session token as authToken. Guest sessions, portal API keys, and developer or admin tokens are not accepted. Then set the relay WebSocket serverAddress to wss://relay.offlineprotocol.com. Local peer-to-peer traffic is never metered on any plan.