Help centerYour app's customers
Installable app
Each domain becomes an app on the phone's home screen with the customer's name, icon and colors, plus an install prompt, iPhone launch screens and an offline page.
Your app may be a single one for every customer, but on the phone's home screen each customer shows up as their own app: their name, icon and colors. On every domain, Tenanci generates everything a phone needs to "install" the site (manifest, icons, launch screens, offline page) and shows an install prompt with the customer's branding.
What the domain gets
- Its own manifest at
/__tenanci/manifest.webmanifest, with the customer's name, short name, colors, start page and icons. The manifest and icons your origin sends are replaced with the domain's, so the installed app never shows up with the base app's name. - Icons generated from the logo: 192 and 512 px, an adaptive icon (Android crops it into a circle, squircle or square) and the iPhone icon (on a solid background, since iOS doesn't accept transparency).
- iPhone and iPad launch screens in the background color, for current device sizes.
- Screenshots (optional) in the install dialog on Android and desktop.
- An install prompt with the customer's icon and name.
- A branded offline page for when the device loses its connection.
Set it up
- Open the domain and go to the Installable app tab.
- Turn on Installable app enabled.
- Pick the Background color (app launch and icon background) first: icons and launch screens are generated in that color.
- Under Customer logo, click Upload logo. Use a square PNG or SVG, ideally with a transparent background, at least 512×512. Wait for "Generating icons…".
- Fill in App name and Short name (under the icon). Up to 12 characters fit on most phones.
- Optionally, write a Description and adjust the Primary color (app bar and buttons).
- Under Display mode, choose Like an app (no browser bar), Full screen or Minimal bar.
- In Page that opens when the icon is tapped, enter the path (for example,
/book). - Click Save. It goes live within a few seconds.
The Preview next to the form shows the home screen icon and the install prompt.
Install prompt
With Invite to install turned on, the domain shows a prompt with the app's icon and name:
- on Android (Chrome and Edge), an Install button that opens the phone's own install dialog;
- on iPhone and iPad, in Safari, the steps: Share → Add to Home Screen (other iPhone browsers can't install apps, so the prompt doesn't show there).
You control:
| Option | What it does |
|---|---|
| Prompt text | the prompt's sentence (up to 200 characters), for example "Install the app to book faster." |
| Show the prompt after (seconds) | how long to wait before showing it (0 to 600; the default is 20) |
The prompt doesn't show to people who already opened the site as an app, and it stays hidden for 14 days after a visitor closes it.
Screenshots
With screenshots, Android and desktop Chrome or Edge replace the plain install prompt with a larger dialog showing the app's screens, like an app store. It's optional: installing works the same without them.
- In the Installable app tab, under Screenshots (optional), click Upload screenshots and pick the images (PNG, JPG or WebP).
- Portrait images are used on phones and landscape images on desktop. Upload at least one of each so both dialogs are complete.
- Optionally write a Caption for each one and click Save.
Each image must be 320 to 3840 px per side, with the longer side at most 2.3 times the shorter one (a 1080×1920 phone screen works; 1080×2600 doesn't). Up to 8 screenshots per domain.
Service worker and offline page
Browsers require a service worker before they offer installation. With Tenanci service worker on, the domain registers a minimal service worker that only stores the Branded offline page (icon, name and a "try again" button). Nothing from your app is cached: content always comes from your origin.
Installs in analytics
Every install reported by the browser becomes the automatic App instalado ("App installed") goal in the domain's analytics, alongside your goals and events. iPhones don't report when someone adds a site to the home screen, so the count mostly reflects Android and desktop.
Through the API
Read with GET /domains/:id/pwa and save with
PUT /domains/:id/pwa (key with domains:write). Settings are sent in full, with the
https URLs of the icons:
curl -X PUT https://api.tenanci.com/v2/domains/dom_4h7n1q/pwa \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"settings": {
"name": "Joe’s Barbershop",
"shortName": "Joe’s",
"description": null,
"themeColor": "#0f766e",
"backgroundColor": "#ffffff",
"display": "standalone",
"startUrl": "/book",
"lang": "en",
"icons": {
"icon192": "https://cdn.example.com/joe/icon-192.png",
"icon512": "https://cdn.example.com/joe/icon-512.png",
"maskable": "https://cdn.example.com/joe/icon-maskable.png",
"apple": "https://cdn.example.com/joe/apple-touch-icon.png"
},
"prompt": { "enabled": true, "text": "Install the app to book faster.", "delaySeconds": 20 },
"offline": true,
"serviceWorker": true,
"screenshots": [
{ "url": "https://cdn.example.com/joe/schedule.png", "width": 1080, "height": 1920, "formFactor": "narrow", "label": "Daily schedule" }
]
}
}'To just turn an already configured app on or off, send only {"enabled": false}. Turning it on with no settings
returns 400 invalid_pwa.
Troubleshooting
- The Save button stays disabled: upload the logo to generate the icons and fill in both names.
- The prompt doesn't show: check that Invite to install is on, wait for the configured delay and test in a private window (closing the prompt hides it for 14 days). On iPhone, it only shows in Safari.
- The installed app opens with the old name: phones keep the manifest for a while. Remove the app from the home screen and install it again.

