Offering the app

Softwarity publishes one app, Meerkat (Meerkat Companion on the App Store and Google Play), that any Meerkat gateway fills. A person pairs it with their account from their profile. The app then opens the applications of the gateway in its own web view, under its own header and menu, receives their notifications natively, app closed, and can approve the account's sign-ins. What it gives, in short, is on The Meerkat app.

Enterprise edition. The Mobile screen and everything the app asks of the gateway come with the Enterprise image.

You publish nothing, hold no Apple or Google account and write no mobile code: you choose, in the console, which pages the app offers.

This page is the administrator's. What a person does with the app is on Using the Meerkat app; what an application behind the gateway should know is on Applications in the app.

What the gateway needs

Turning it on

Application, Mobile (/application/mobile). Two formats, Phone and Tablet, chosen at the top of the screen. Each has its own switch and its own menu:

The app is offered as soon as one of them is on. With both off, the profile has no Mobile app page and the app is told the gateway no longer offers it.

Phone Tablet A phone gets A tablet gets
on off the phone's menu the phone's menu
off on nothing: refused when it scans the tablet's menu
on on the phone's menu the tablet's menu
off off the app is off the app is off

The format a device declared when it was paired decides whether it is still offered the app. Turn the phone format off and the phones already paired say the application is no longer offered on phones; their pairing stays, and works again when the format comes back.

The screen is root's and the application administrator's. Each change is saved at once.

Offer the app

Check the prerequisites

The Enterprise image, HTTPS, the gateway at the root of its own host name, and outbound HTTPS to https://push.softwarity.io (see What the gateway needs).

Switch the phone format on

Open Application, Mobile (/application/mobile), keep the Phone format selected at the top, and turn on Offer the app on phones.

Add the entries of the menu

Press Add an entry. In the drawer, pick the Application (route), an optional Page (path) such as m/dashboard, a Label and an Icon, then Save. Add as many entries as the menu needs and drag them into order.

Check the preview

Beside the list, the phone shows the menu as somebody who may open every page sees it, with your application's name, logo and colours.

Pair your own phone

Install the app and pair it from your profile, as any person does: see Pair it.

The profile's Mobile app page once the phone has scanned: the QR code, the tenant named under it, and the boxes for the phone's six-digit code

Send a test

Back on Application, Mobile, press Test on my phones. A message at the bottom of the screen says how many of your devices were sent the test and how many the push relay accepted, for example Test sent to 2 devices, 2 accepted by the push relay., and the notification shows on your phone. If you have no paired device with notifications on, the test is refused with you have no paired device with notifications on: pair one from your profile (Mobile app), and allow notifications on it. A device the relay did not accept is named with the relay's answer.

For tablets, select Tablet at the top and turn on A menu of its own on tablets; leave it off and tablets get the phone's menu.

The menus

An entry is a page: an application (a UI route), a page inside it (a path such as m/dashboard; empty, the route's own page), a label (empty, the route's name) and an icon. Drag the entries to order them; a click opens one in the drawer, with its switch and Remove.

What each person sees is computed from their access:

Notifications is always in the menu, under the entries, and is not an entry you add: a person with no page here still gets their notifications, and the app opens on them.

Application, Mobile on the Phone format: four entries, one on a page inside Billing, the Notifications row always in the menu, and beside them the app's menu previewed in light

The preview

Beside the list, a phone (or a tablet) shows the app's menu as somebody who may open every page sees it, with the application's name, logo and colour from the branding and the theme, in light or in dark. Each person sees only their own entries.

The Tablet format: a menu of its own with seven entries, previewed in dark on a tablet, the light or dark switch in its header

The header of the preview shows the two switches the app offers when the applications of the menu offer them:

On the web, the gateway's bar or account button carries these switches. In the app they stand down, and the app's header carries them instead. The choice is kept on the account, as on the web, and the pages wear it.

The menu also shows Approve sign-ins when the gateway allows it (see below).

Notifications on the phone

Notifications reach the phone when they are published to the mobile channel: channels set to ["mobile"] or ["web", "mobile"], and optionally mobile.detail, the phone's own link (see the message). Without channels, a notification is a web one only. A tenant's notification builder in the console sends to both channels whenever the app is offered, and says so under the message.

Test on my phones, on the Mobile screen, sends a test notification to your own paired devices and says what the relay answered for each. It needs a device of your own, paired with notifications allowed (see Send a test for what success and failure look like).

Approving sign-ins

A paired phone can be a second factor: the sign-in page shows two digits, the app asks for them, and the phone's biometrics sign the answer. You allow it on Application, Security (/application/security) with the switch Allow approving sign-ins on a paired phone; then each person turns it on in the app. See Two-factor for the rules, and what turning it off does to the accounts that relied on it.

Paired phones

A device is paired by its person, from their profile, never by an administrator. You see and remove them:

Remove forgets the device and ends the web session its app had opened. The person pairs it again if they still want it.

What an administrator's act does to a phone

Act The phone
Remove, in an account's or a member's drawer forgotten, its app's session ended; the app says it is no longer paired
The account disabled or deleted all its devices forgotten: enabling it again means pairing again
The member removed from a tenant the devices paired in that tenant forgotten
The tenant deleted every device paired in it forgotten
A password reset through the mailed link every device of the account forgotten, with its pending sign-in requests
The account outside its validity dates or its working hours, its membership or the tenant turned off, or the account no longer recognised by its authority refused, with a sentence the person reads in the app; the pairing stays and works again once allowed
The phone format turned off refused, as above; the pairing stays

A forgotten device receives nothing more, and the app tells the person to remove it from its list and pair again.

The audit trail keeps each pairing asked for, confirmed or failed, each device removed (and by whom), and each approval turned on or off.

A shortcut on the Home Screen

The app is the same for every gateway and every tenant: what tells them apart is the shortcut a person may add. Its icon is the application's logo with a band in the tenant's initials and a colour the person picks; its label is the tenant's name, which they may change. The gateway draws the icon.

The quickest way in needs no shortcut: touching and holding the Meerkat icon lists the person's applications.