The connection modes: offline, hybrid, and always online
The three connection modes of the Alkaml app, what each one sends and when, which one fits your shop, and how to change it from the header.
What a connection mode is
The connection mode decides how the device talks to the server: when it sends what was sold, and when it brings the latest data. It never decides whether you can sell. Selling works in all three, with or without the internet. The mode belongs to the device, so each device of a shop can have its own.
Choose the mode
Press the mode in the header, or Connection in the menu on a phone. The Connection window opens with the three modes, and the current one has a pink border.

- 1OfflineNothing happens automatically. Invoices wait on the device until you press the sync action.
- 2Always onlineEvery invoice is issued through the server before it prints, and the data of a company is refreshed each time it is opened.
- 3HybridInvoices are issued on the device and sent as soon as the server answers, and the data is refreshed in the background every few minutes.
- 4SaveKeeps the chosen mode. It takes effect at once.
Hybrid: the usual choice
Hybrid is the mode a new installation starts with, and it suits most shops. The sale is saved on the device and printed at once, so the customer never waits for the internet, and the device sends it to the server a moment later. If the server cannot be reached, the invoice simply waits and the device tries again every minute. The data of the company is refreshed in the background every five minutes, so a price changed on the website reaches the counter without anyone pressing anything.
Offline: you decide when
In Offline mode the device does nothing on its own: no sending, no refreshing, and no checking for updates. Everything waits until you ask. The header turns the mode orange so nobody forgets that the device is holding its work. It fits a place with a metered or unreliable connection, such as a stall or a food truck, where you prefer to send once at the end of the day.

- 1OfflineThe mode in orange. Press it to open the Connection window again.
- 2Sync with the serverSends what is waiting and brings the latest data. Nothing does it for you in this mode.
Always online: the server first
In Always online mode every invoice goes through the server before it prints, so the website shows each sale the moment it is made, and the data of the company is refreshed every time the company is opened. It fits a counter with a stable connection that wants every device to see the same stock at once. The sale is still safe when the connection drops: the invoice is saved on the device, the cashier is told that it is waiting, and it is sent automatically when the connection returns.
What does not depend on the mode
Four things behave the same whichever mode you choose.
- Signing in
- Always needs the internet.
- The sync button
- Works in every mode, whenever you press it.
- ZATCA phase 2
- A company on phase 2 signs its invoices on the device in every mode. Offline sends them to ZATCA only with the sync button, and the other two modes send them by themselves.
- Pages that read the website
- Documents, the lists of every device, and the settings need the connection in every mode. In Offline mode they say so instead of opening.
Questions about connection modes
Does Offline mode need the internet to be off?
No. It is a choice, not a state of the network. The internet can be on, and the device still sends nothing until you ask it to.
Which connection mode should a busy cafe use?
Hybrid. The receipt prints at once from the device, and the sale reaches the server a moment later without slowing the queue.
Can I change the connection mode in the middle of the day?
Yes. Nothing is lost by changing it. What was waiting keeps waiting, and is sent according to the new mode.