User guide
Connect a push provider, grant the appropriate permissions and register a device. Check each of those pieces when an in-app notification appears but a device receives nothing.
Open Mercato delivers a notification on up to three channels: the in-app bell, email, and mobile push. This guide covers the screens an administrator uses to control that – what to turn on, in which order, and where to look when a message does not arrive.
If you only need the in-app bell and email, nothing here is required; both work out of the box. Push needs the one-time setup in Step 1.
devices and push_notifications modules enabled, plus a provider package (channel-fcm, channel-apns or channel-expo)..p8 key, or an Expo access token.Push credentials belong to the whole tenant, not to your personal account, so they are connected as a tenant channel rather than from your profile.
You need the communication_channels.connect_tenant_channel permission. If the provider does not appear, its package is not installed.
The devices and push permissions are seeded for new tenants automatically. An existing tenant needs them applied once:
yarn mercato auth sync-role-acls
This grants devices.* and push_notifications.* to the default admin roles. Skipping it is the usual reason the Devices and Push screens are missing from the sidebar after an upgrade.
Open Settings → Module Configs → Notification Delivery (/backend/config/notifications, permission notifications.manage).
This is a matrix of every notification type against every channel. Each row is a kind of message – "Order created", "Account locked" – and each cell says whether that type may use that channel at all in your tenant. It sits above user preferences: a channel switched off here is off for everyone, including for messages users cannot normally opt out of.
Warning · A type that ships without an explicit channel list is push-eligible
When a notification type does not declare which channels it may use, the platform reads that as "no restriction" rather than "none" – so completing Step 1 makes such a type start pushing. Built-in types are not affected: every one of them now declares its channels explicitly, and the business and actionable ones ship in-app and email only (#5495). Types added by third-party modules can still omit the list.
Review this matrix immediately after connecting a provider, and switch push off for anything you do not want on a phone.
You can also mark a type non-opt-out here, for alerts that must always reach the recipient.
Open Settings → Auth → Devices (/backend/devices, permission devices.admin). Every device a client app has registered appears here with its owner, platform, app version, push provider and last-seen time.
Filter by user to answer "does this person have a device at all?" – the most common cause of a missing push.
The Push provider column matters more than it looks. It must exactly match the provider you connected in Step 1: a device registered as fcm receives nothing from an APNs channel, and a device with an empty provider receives nothing at all. Those devices are skipped without any error.
You can register a device manually from this screen for testing, but in normal operation the client app does it.
Open Settings → External systems → Push notifications → Send (/backend/push_notifications/send, permission push_notifications.send_custom).
If the device dropdown is empty, that recipient has no push-capable device – go back to Step 4.
A custom send bypasses preferences on purpose: it is an operator tool and writes no in-app notification.
Settings → External systems → Push notifications (/backend/push_notifications, permission push_notifications.view_deliveries) lists every push attempt with its status. Open a row for the payload, the provider's response, and the last 8 characters of the token used.
| Status | Meaning |
|---|---|
pending | Queued, not sent yet. If rows stay here, the queue worker is not running. |
sending | Claimed by a worker right now. |
sent | Handed to the provider successfully. |
failed | Gave up after retries – see the error. |
skipped | Nothing to send to; the device or its token was gone. |
expired | Aged out before delivery. |
Each user manages their own channels at Profile → Notification Preferences – a per-type, per-channel grid. Types marked non-opt-out show as locked, as do channels you disabled in Step 3.
To adjust someone else's, use Settings → Auth → User Notification Preferences (permission notifications.manage_user_preferences).
The fan-out never produced rows. Either the tenant has no active push channel (Step 1), or the recipient has no device whose push provider matches it (Step 4). Neither reports an error anywhere in the UI – this is the case to check first.
pendingThe push-deliveries queue worker is not running. Rows left in sending by a crashed worker are recovered automatically within a few minutes.
no_adapterThe channel exists but the provider package is not installed or not registered in this deployment.
channel_unavailableThe channel was disconnected or deactivated between the notification being created and the push being sent.
device_unregisteredThe provider reports the token as permanently invalid – the app was uninstalled, or the token rotated. The device is deactivated automatically; the next app launch re-registers it.
Channels are independent, and both the operator matrix (Step 3) and the user's own preferences (Step 7) can disable one without the other.
Check their preferences (Step 7) before anything else – a per-type opt-out is invisible from every other screen.
Previous: Login & authentication · Next: Manage organizations