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.

Enterprise edition. The app pairs with a gateway running the Enterprise image.

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.

On a tablet, a page of an application sits under the app's header, beside the menu built on the Mobile screen

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.

What the app shows, and what it does not

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