Skip to content

How it works

your computer Ynch Studio your iPhone
------------- ----------- -----------
.ynch files -- upload --> draft
you approve --> signed
you activate --> active --> Ynch app opens it

A Ynch app is a set of JSON files that describe screens, navigation, a theme and, if you use a database, the exact reads and writes the app may make. There is no JavaScript, CSS or SQL in it, and nothing in it is ever executed. The Ynch app on your phone reads the description and draws it with native controls.

Because the vocabulary is fixed, ynch check can tell you precisely whether an app is valid before anything leaves your computer.

An upload is only a draft. In Studio you approve one exact draft, and Studio signs it. Making a signed version active is a separate step. You can keep several signed versions and switch which one is active.

The Ynch app downloads the active version and verifies its signature before showing anything. A version that was changed after you approved it does not open.

If your app uses a database:

  • The app’s files hold no passwords, keys or addresses, only the name of a connection.
  • You enter the connection details once, in Studio, where they are kept in a secrets vault.
  • The app declares each read and write it needs as an operation: which table, which columns, which filters. You approve each one in Studio.
  • Your phone never talks to the database. It asks Studio to run an approved operation, and Studio runs exactly that.

An app cannot run a query you did not approve, and a changed operation needs approving again.