---
title: "Launch screen and offline page (web)"
description: "The launch screen, iPhone splash images and offline page of your Flutter web app, from one command."
product: push
language: en
url: https://abrova.ir/en/docs/push/offline-page
updated: 2026-11-15
---

# Launch screen and offline page (web)

The launch screen, iPhone splash images and offline page of your Flutter web app, from one command.

## Step 1: Run the setup

`abrova_web` 0.4.0 or later (see [Install guide](https://abrova.ir/docs/push/install-guide#install-the-package)), with the Abrova Push worker at the root ([Flutter Web Push](https://abrova.ir/docs/push/flutter#web-push)):

```bash
dart run abrova_push:web_push_setup --root
dart run abrova_web:setup --accent "#1C72C8"
```

From your app's name, `background_color` and icons in `web/manifest.json` (`--accent` is the glow, bar and button colour), this writes:

- the launch screen in `web/index.html`, shown until your app draws its first frame;
- the iPhone and iPad splash images in `web/splash/` and their tags in `web/index.html` (needs Google Chrome; `--no-splash` skips them);
- `web/offline.html`, added to `web/abrova-push-sw.js`.

## Step 2: What people see

Tapping the icon on the home screen shows the splash image at once, then the launch screen with a loading bar until the app appears. When the app is opened with no network, the offline page shows "You're offline" with a Try again button. It reloads into the app as soon as the connection is back. The page works once the app has been opened online with push started.

## Step 3: After changes

Run both commands again after upgrading `abrova_push`, and when your manifest or icons change.
