Applications in the app
The Meerkat app shows the pages of your applications as the gateway serves them, in its web view. There is nothing to build for it: a page that works in a phone's browser works in the app. This page says what is different, for the developer of an application behind the gateway. Which pages the app offers is the administrator's choice, on Offering the app.
A page for the phone
An entry of the app's menu is a page of a UI route: the route's own page, or a path inside it, such as m/dashboard. A phone screen is often one page of an application rather than its home, and the tablet's menu may name other pages than the phone's. Write the page for a narrow screen; the app gives it the whole screen under its header.

The session
The app opens a session for each pairing in its own web view. It is a session like a sign-in: the account, in the tenant the phone was paired in, with the lifetime and the working hours of a sign-in there, the account's language and its light or dark choice. Your application receives the same identity as from a browser, on the same routes, under the same access rules.
- Only in the app. The address that opens such a session works once, for a minute, and only in the app's web view. Loaded in any other browser, it opens nothing and answers a page in the gateway's theme that says to open the application from the app.
- When it ends, a page sent to the sign-in page makes the app open another session, landing where the page was going: the person types nothing.
- Refused when the account, its membership or the tenant no longer let the person in, or outside their working hours: the app shows the reason.
What the app shows, and what it does not
- No gateway bar, no account button. The portal bar and the account button stay out of a page in the app: its header and menu replace them, and the header carries the light or dark switch and the language when your applications offer them. The web view announces itself with
MeerkatCompanion/in its user agent, for a page that wants to know (example below). - Pages of the gateway open in the app; links to another site open in the phone's browser, never in the app.
- A double tap does not zoom; pinching still does.
- A notification's Open leads into the app only to a page of the app's menu for that device's format: an entry's page, or a page under it. A link outside the gateway opens in the phone's browser, and a desktop page of the gateway never opens in the app. Give the phone its own link with
mobile.detailwhen the web one leads to a desktop page (see the message).
A page that hides its own header or menu inside the app tests the user agent:
if (navigator.userAgent.includes('MeerkatCompanion/')) {
document.body.classList.add('in-companion');
}
A notification whose web link leads to a desktop page gives the phone its own link, a page of the app's menu, with mobile.detail:
{
"tenant": "Acme Logistics",
"title": "Invoice INV-2026-0142 is overdue",
"channels": ["web", "mobile"],
"detail": { "service": "billing", "path": "/invoices/INV-2026-0142" },
"mobile": { "detail": { "service": "billing", "path": "/m/invoices/INV-2026-0142" } }
}
Exclusive groups
In a tenant whose groups are exclusive (one group at a time, see Roles and groups), the phone acts in the group of the web session that confirmed its pairing: the menu is what that group opens, and so are the pages. When the account is no longer in that group and holds several, the app's session lands on the group choice page first, and the group chosen there is the phone's from then on.
What the gateway must be
- Reached over HTTPS. The app pairs with nothing else.
- At the root of its host name:
https://apps.example.com, nothttps://example.com/gateway/. A path in front of the gateway is not supported. The applications behind it keep their own paths as routes.