Skip to content
kuentas.online
← All articles

How it works

Kuentas works without signal

There's no signal at the market, and the wifi drops at the soda. Kuentas records anyway: it keeps everything on your phone and sends it up when the connection returns. Here's how, and what happens when two people change the same thing.

There's no signal at the farmers' market. At the soda, the wifi drops right at lunchtime. Out on the farm, the phone hunts for a bar that doesn't come. And that's exactly when someone settles their tab, or you sell three casados, or a regular takes something on credit.

Kuentas is built for that moment: it records the same, with or without signal. What you record is kept on your phone right away, and goes up to your team's accounts when the connection returns.

Try it: take a phone's signal away, record a few sales and give it back.

Ana

All up to date

  • Nothing recorded yet
Luis

Offline

  • Nothing recorded yet
The accountswhat has gone up, encrypted

    0

    What you record is kept on your phone

    Your books live on your phone, encrypted. When you record a sale, it doesn't wait for any server: it's kept right there, and you see it at once on Inicio, in the customer's balance and in your stock.

    The app opens without signal too. Once you've signed in with a connection, Kuentas stays installed on the phone and opens even in airplane mode.

    When the signal returns

    What you recorded without signal waits on the phone, marked "to send". As soon as the connection returns, it all goes up together, and your team's phones receive it on their next round.

    0246810121416minutes
    With signal: checks every 20 secondsSignal drops: tries further and further apart, up to every 5 minutesSignal returns, or you open the app: syncs right away

    With signal, each phone checks for anything new every 20 seconds. Without it, it doesn't burn battery insisting: it tries further and further apart, up to once every 5 minutes. And the moment the signal comes back, or you open the app, it syncs right away.

    Two people offline, each recording

    Most of the time each person records new things: you a sale, your helper another. That doesn't collide: when both phones get their signal back, both go in.

    Both go in: they're two different sales, and they don't collide.

    If two people change the same thing

    Sometimes two people change the same thing with no signal: you set flour to ₡18,500, and your helper, on another phone, sets it to ₡19,000. Both can't be true at once.

    Kuentas doesn't guess or blend them: the change that reaches the accounts first is the one that stays. The other isn't lost quietly: it shows up on the phone of whoever made it, under "Changes that didn't make it in", with what it was, when and why. From there they can record it again or remove it from the list.

    Both are offline, and each one changes what the flour costs.

    Ana

    Offline · 1

    Cost of flour₡18,500
    Luis

    Offline · 1

    Cost of flour₡19,000
    Flour 25 kg

    ₡18,000

    Who gets signal back first?

    How to tell where things stand

    At the top of the app, Kuentas tells you in words how your phone is doing:

    All up to date
    What's on this phone is already in everyone's accounts.
    3 changes to send
    They're kept here and go up as soon as there's signal.
    Offline
    You can keep recording: everything is kept on this phone.
    1 change didn't make it into the accounts
    Someone changed the same thing first. Tap it to see what it was and record it again.
    Your changes are waiting for an owner to open Kuentas
    An owner needs to open the app on their phone before they can go up.

    So nothing gets lost

    • The first time, with signal

      Signing in and bringing your book onto the phone needs a connection once. After that it opens and records without one.

    • Install it on your home screen

      On an iPhone, Safari can delete what a page keeps when it isn't visited for about seven days. Installed as an app, it isn't cleared that way.

    • Before it leaves your sight

      Whatever still says "to send" is only on that phone. If the phone is lost or wiped before it gets signal, that goes with it.

    • Don't leave it offline for months

      A phone that goes months without connecting catches up from a copy of the accounts, and what it had to send moves to "Changes that didn't make it in".

    • What does need signal

      Inviting someone, seeing the receipts the server keeps, and fetching today's exchange rate. With no signal, Kuentas shows you the last one that arrived.

    And everything that travels between your phones travels encrypted: how we encrypt your books explains how.