How it works
your computer Ynch Studio your iPhone------------- ----------- -----------.ynch files -- upload --> draft you approve --> signed you activate --> active --> Ynch app opens itAn app is data, not code
Section titled “An app is data, not code”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.
Nothing is live until you say so
Section titled “Nothing is live until you say so”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.
Your phone checks what it opens
Section titled “Your phone checks what it opens”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.
Your database stays behind Studio
Section titled “Your database stays behind Studio”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.