mobile-p2p-sync-android

Installation
SKILL.md

Platform-agnostic concepts: shared/mobile/p2p-sync-concepts.md

Peer-to-Peer Sync — Couchbase Lite Android

P2P sync runs directly between devices over a local network — no Sync Gateway required. Requires Enterprise Edition.

Architecture

Device A (passive — listener)          Device B (active — initiator)
  URLEndpointListener                    Replicator
  └── listens on TCP port                └── connects to Device A's URL
        ↕ WebSocket (ws:// or wss://)

Passive peer (listener)

import com.couchbase.lite.*
Installs
2
First Seen
Jun 18, 2026
mobile-p2p-sync-android — couchbaselabs/agent-skills