Ongoing and foreground service notifications
A notification the person cannot easily swipe away that shows background work is running.
In one line
Can show a notification you cannot easily swipe away while background work runs
A notification the person cannot easily swipe away that shows background work is running.
It makes background activity visible. Android 14 let people swipe most of these away, but the Task Manager (Android 13+) still lists the foreground app.
What it can and can't do
What the user does: You start something long, like music, a download or navigation
It can
- Show an ongoing alert while a background service is running
- Appear in Android's Task Manager list of active apps on Android 13 or newer
- Show a Live Activity or audio indicator on iPhone instead
It cannot
- Hide that the app is running on Android
- Show every foreground alert right away; Android 12 delays unimportant ones by about 10 seconds
- Make a generic permanent alert on iPhone, which has none
How it differs between platforms: Android shows a persistent foreground notification. iPhone shows system indicators or Live Activities instead.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Partial |
| First version | Android 8.0 (API 26) | iOS 16.1 |
| Permission or entitlement | FOREGROUND_SERVICE; type specific permission on 14+ | Not listed |
| Protection level | normal | none |
| How access is granted | install | none |
| What the user sees | Foreground service notification; Task Manager lists active apps (Android 13+) | Live Activity or audio indicator |
| How long it lasts | Visible while the service runs; Android 14 lets users dismiss most | Controlled by the OS |
| How to take it back | Task manager 'Stop' button | Not listed |
| Store policy | None listed | None listed |
| API | Service.startForeground(), Notification.FLAG_ONGOING_EVENT | Live Activities; Control Center now playing; location blue pill |
| Notes | Android 12 delays display of non-essential FGS notifications by about 10 s | iOS has no generic persistent notification; use of background modes shows system indicators instead |
Data you get
What comes back: Notification ongoing
Shape: boolean
How often: Per notification
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
ongoing | boolean | None | true or false | Not listed |
Technical limits
- Android 12 defers display; Android 14 can be swiped away
The story
What it is
A notification that stays put to show an app is doing work in the background.
For you
You see a music player or a navigation card that does not go away. It is a clear sign that something is running, and on Android you can check the Task Manager.
For makers
Makers use it to keep tasks alive and avoid being killed by the system. It can also be a trick if an app hides behind a persistent notification.
Where you see it
| Type | Example | Apps |
|---|---|---|
| music | A player keeps a notification with play and pause while you work. | Spotify |
| maps | A navigation app shows the next turn in the notification. | Google Maps |
| fitness | A run tracker keeps a notification so you can pause from the shade. | Strava |
| messaging | A call app keeps an ongoing call notification with a hang up button. | |
| games | A game download shows a progress notification until it is done. | Google Play Games |
| smart-home | A security app keeps a notification that says Home mode active. | None named |
| utilities | A VPN app shows a key icon while it protects your traffic. | Proton VPN |
Risks
- Can hide long running work
- Clutters the shade
Android and iPhone in short
- Android: From Android 14 people can swipe away most of these. Task Manager lists active apps from Android 13.
- iPhone: iOS has no generic persistent notification. It shows system indicators for audio or location instead.
What the platform says
- Google: Foreground services. Google documents the foreground service notification as the visible sign that an app is doing ongoing work.
Good uses and abuse
Legitimate uses
- Music, navigation
Known abuse
- Hiding in a persistent notification to avoid kills
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2021-10, Android 12 (API 31): FGS notification deferred about 10 s for short work
- 2022-08, Android 13 (API 33): Foreground Services Task Manager lists active apps with stop button
- 2023-10, Android 14 (API 34): Users can dismiss most ongoing foreground service notifications
Related capabilities
Related
- Foreground service types (Android 14). Can run long Android background tasks, but only for a declared purpose with a notification
- Android Live Updates (promoted ongoing notifications). Can show a live progress card on your Android lock screen, if you allow it
Sources
How well checked: Based on official documentation.