Ndevar logoNdevar

How messaging works

How messages reach the recipient: through nearby devices over Bluetooth, through a nearby phone that's online, or over the internet.

Ndevar sends each message over every route that's switched on. You can turn Mesh or Internet off in Settings › Networking.

Three routes

Bluetooth (offline)

When you have no internet access, messages route via Bluetooth through nearby devices. Each nearby phone running Ndevar passes messages along until they reach the recipient.

This works with zero infrastructure. No cell towers, no Wi-Fi, no internet. It needs the recipient in Bluetooth range, or phones running Ndevar between you.

When it works well: Crowded outdoor events, outdoor areas with other Ndevar users, situations where infrastructure is down but people are present.

Through a nearby phone that's online

If a nearby phone has internet, it can pass your direct message on to the Ndevar relay. You don't need to do anything — Ndevar detects this automatically.

When it works well: You're in a low-signal area but not completely offline; someone nearby has better connectivity.

Internet relay (both online)

When both you and the recipient have internet access, messages go through the Ndevar relay. We can't read your direct or group messages. Broadcast channels are for publishing, and Ndevar can read them. A direct message waiting on the relay is deleted once delivered. One that is never delivered is set to expire after 24 hours and is removed within a few days. Messages you send to Ndevar Support are the exception: Support is run by Ndevar, and the Ndevar team can read them. Ndevar keeps them for 30 days.

When it works well: Normal connectivity, any distance.

Delivery

Ndevar attempts delivery on all available routes simultaneously. The first successful delivery wins.

If the recipient is offline, the message is:

  • Held on nearby devices for Bluetooth delivery when they come within range
  • Queued on the relay, for up to 24 hours, if your phone or a nearby phone has internet

Messages have a limited lifetime (TTL). On the relay, a direct message that is never delivered is set to expire after 24 hours and is removed within a few days.

Privacy

Regardless of which route is used, the encryption properties are identical:

  • Direct and group messages are always end-to-end encrypted
  • Phones that carry your direct message can't tell who it's from or for
  • Each direct message uses a one-time delivery token, so phones that carry it can't tell who it's from or for
  • The relay deletes a direct message once delivered; one never delivered is set to expire after 24 hours and is removed within a few days

See the security page for full cryptographic details.