What Offline-First Means
Most platforms assume internet connectivity. They are built for the best case. When connectivity fails, they fail too. Wede is built for the worst case. Every feature, every integration, every delivery guarantee is designed to work without internet — and to work better when internet is available. This is what offline-first means: not a fallback mode, but the default architecture.Delivery Channels
Wede maintains multiple delivery channels for every operational zone. When the primary channel degrades, the next channel activates automatically — transparently, without any changes to your integration.
Channel selection is automatic and transparent. Your API call stays the same regardless of which channel delivers the event.
Connectivity States
Each zone has an independent connectivity state, monitored in real-time:
Zone states are visible in real-time in your dashboard and via the API.
Device Registration and Offline Queue
Wede provides a device-level offline guarantee through the Device Sync API. When a device registers, it receives a permanentdevice_id that survives app reinstalls and cache clears.
Register a Device
POST /v1/devices/register
Offline Dispatch Queue
When a device is offline, dispatches are queued locally with monotonic sequence numbers. Each entry is immutable — it is never deleted until the server confirms receipt.Sync on Reconnection
POST /v1/devices/sync
When connectivity is restored, the SDK automatically syncs the queue:
(device_id, sequence_number) level — retransmitting the same entry is safe and will be returned in duplicates, not processed twice.
Get Pending Queue
GET /v1/devices/:id/queue
Returns all unsynced entries for a device — useful for monitoring offline operations from the server side.
SDK Offline Architecture
All Wede SDKs include three offline components:Idempotency
Every event sent to Wede requires anidempotency_key. This guarantees that even if the same event is sent multiple times — due to network retries or reconnection — it is processed exactly once.
Security
All communication is encrypted in transit over HTTPS. Events are authenticated using your API key or JWT token. All operations are logged in an immutable audit trail. Offline queues are stored locally on the device. They do not contain sensitive payload data — only operational metadata (action type, coordinates, vertical, priority).Compliance
Wede is designed for regulated industries:- Data residency — all data processed within EU infrastructure (GCP europe-west1)
- Audit trail — every operation logged with user, timestamp and IP
- Role-based access — granular permissions per user role
- RGPD — data processed within EU infrastructure

