SDKs and platforms

Are there example apps built with Offline Protocol?

Yes. Offline Protocol publishes eleven open-source React Native demo apps for iOS and Android, each running one real operation between phones in the same place, such as orders to a kitchen display, a shared store inventory or a yard gate check-in. Developers have also built and shared their own apps on the SDK, from a room-reading networking app to an offline Zcash payment.

TL;DR

Offline Protocol's offline-app-examples repository holds eleven MIT-0 React Native apps for iOS and Android, each syncing one real operation between phones over the SDK with no account or server. Run any of them on two phones. Developers have also shared their own builds, from Radius to hopchat.

Learning objectives

After reading this article you will be able to:

  • Pick the demo app closest to the operation you want to build
  • Run a demo app on two phones with the prerequisites it needs
  • Find apps other developers have built on the SDK and start from one

Offline Protocol demo apps

Offline Protocol keeps eleven open-source demo apps in the offline-app-examples repository. Each is a React Native app for iOS and Android built on @offline-protocol/mesh-sdk, and each runs one operation between phones in the same place, with no internet, accounts or server. The demos page shows every recorded app running on an iPhone and an Android phone.

The apps cover the operations teams run every day:

AppOperationHow it keeps state in step
Order UpRestaurants: orders from waiters’ phones to a kitchen displayIdempotent requests, resends and status updates
Stock SyncRetail: one shared inventory across phones in a storeOptimistic local changes confirmed by host snapshots
YardGateLogistics: yard gate check-in, approved or denied by the officerA nearby service discovered and invoked over the mesh
Event FloorLive events: staff dispatch and gate admissionsAn encrypted staff group and a gate admission ledger
OutageNetPublic sector: outage coordination between field units and a command postStatus updates and handoff acceptance, synced later
AgriMeshAgriculture: field readings to the farm officeStore and forward over a multi-hop Bluetooth mesh
DockHandFleet yards: driver check-in and a signed dock assignmentA signed handoff, synced to a fleet platform when online
ChargeCatchEV charging: session ledgers on charge pointsA site hub over a Bluetooth mesh, reconciled later
SafeRollStaff safety: signed incident alerts and a roll callCheck-ins across a Bluetooth mesh, uploaded when online
CowriteCollaboration: one shared document with live cursorsThe SDK’s replicated documents in an MLS group
Tic Tac TogetherGames: a two-player boardHost-authoritative state with revision numbers

Choosing a demo app to start from

Start from the app whose operation looks most like yours, because its sync pattern is the part worth copying. Order Up shows how to make a request land exactly once. Stock Sync shows shared state that keeps working out of range. YardGate shows a nearby service one phone offers and another invokes. AgriMesh and ChargeCatch show readings and ledgers that wait on the device and reach a backend once a link returns. Cowrite is the starting point for shared documents.

Each app’s README explains how its sync works and what its tests cover, so you can lift the pattern without the rest of the app.

Running a demo app on two phones

A demo app needs two or more physical phones, iOS 15.1 or later or Android 7.0 or later, with Bluetooth on. Simulators and emulators run the interface but cannot discover each other. On the computer you build with, the repository’s README asks for:

  • Node.js 22 or 24 and pnpm 11, through Corepack
  • For iOS, macOS with Xcode 16.1 or newer, CocoaPods and an Apple development team for signing
  • For Android, Android Studio with the Android SDK and JDK 17

No API key or developer portal account is needed: the examples use only nearby Bluetooth, with the SDK’s internet transports and telemetry off. The apps are MIT-0, so their code can go straight into your own app.

Apps developers have built

Developers have built and shared their own apps on the SDK. On the demos page each one links to the builder’s post or repository:

  • Radius, by Mizan Ali: a social networking app that shows who nearby is worth meeting, phone to phone.
  • Obsidian folder sharing, by Gokul: an Obsidian plugin that syncs folders between devices without internet, built on the SDK’s browser support.
  • Shielded Zcash payment, by Satvik: a private Zcash payment between two phones in airplane mode.
  • hopchat, by Gokul: an encrypted terminal chat that also runs the room, from the lights and TV to a shared local AI model.

Others include Heimdall, a friend finder that works with no signal, and MeshWallet, an Ethereum wallet whose phones relay signed transactions over a Bluetooth mesh.

Starting your own app from a demo

The fastest route to your own app is to let a coding agent plan and scaffold it with the Offline Protocol MCP server, or to scaffold a starter with the offline CLI, and then copy the sync pattern from the demo app closest to your operation. If you are deciding between platforms first, which Offline Protocol SDK should I use? compares every package.

Frequently asked questions

Do the Offline Protocol demo apps need an account or API key?

No. The examples use only nearby Bluetooth with the SDK's internet transports and telemetry off, so no API key or developer portal account is needed to run them.

Can I run the demo apps in a simulator?

The interface runs in a simulator or emulator, but simulators cannot discover each other. Use two or more physical phones, iOS 15.1 or later or Android 7.0 or later, with Bluetooth on.

What licence are the Offline Protocol demo apps under?

MIT-0, so you can copy code from them into your own app without attribution. The SDK they use is AGPL-3.0-only, with a commercial licence available.

Which demo app should I start from for a point-of-sale or ordering app?

Order Up, which sends orders from waiters' phones to a kitchen display with idempotent requests and status updates. For a shared count of stock, start from Stock Sync.

Where can I see what other developers have built?

The demos page lists apps developers have built and shown on X and GitHub, including Radius, an Obsidian folder-sharing plugin, an offline Zcash payment and hopchat.

Sources

Build it with Offline Protocol

The React Native installation guide covers the permissions, transports and setup every demo app uses, so you can take a pattern from one into your own app.

Read the React Native installation guide