Early access · launching soon. Request access

Early access

Early access · launching soon
Product
IntelligenceEarly access. Designed and in development. No results yet. See what's left on the roadmap.
Developers
Resources
Request access

A person reads every request.

Glossary · Mobile push

Notification Service Extension

A Notification Service Extension is a small iOS app extension that runs when a notification arrives, before it's shown. It has about 30 seconds to change the content: download an image, decrypt text or tell your server the notification was delivered.

Also called NSE, service extension

A short window between arrival and display

You add the extension as its own target in Xcode. iOS runs it only for visible notifications whose aps payload contains "mutable-content": 1. Your didReceive method gets the notification, changes a copy and hands it back. If time runs out first, iOS calls serviceExtensionTimeWillExpire, and you deliver whatever you have, usually the original text.

  • It runs in its own process, even when the app isn't running.
  • It doesn't run for silent background pushes.
  • It can't touch your app's storage unless both share an App Group.
What happens in the 30 seconds
  1. Push arrives

    mutable-content: 1

  2. Extension: ≈ 30 s

    confirm delivery · download image

  3. Shown with image

Time’s up → shown as text

A push with mutable-content 1 arrives; the extension has about 30 seconds to confirm delivery and download the image, then the notification is shown with the image. If time runs out, it is shown as text.

Three common jobs

  • Images and media. Download an image and attach it, so the notification shows a picture.
  • Delivery receipts. Report that the notification reached the device. Without an extension, an iOS app only knows about notifications that were opened, or that arrived while it was in the foreground.
  • Decryption or last-second edits. Decrypt end-to-end encrypted text, or fill in a detail that wasn't known at send time.

With the Oricato SDK, it's one line of code

Swift

Swift

import OricatoPushNotificationService

class NotificationService: OricatoNotificationService {}

Add the Notification Service Extension target in Xcode, add the OricatoPushNotificationService package to it, replace the generated class with the line above, and set OricatoApiBaseURL in the extension's Info.plist. Flutter apps use the same extension class.

In Oricato

Oricato always sends mutable-content: 1, so the extension runs for every Oricato notification. It needs no App Group and no shared storage: it reads everything it needs from the notification itself.

  • It starts the delivery receipt first, signed with a key only that notification carries, and only on devices in the receipt sample.
  • At the same time it downloads the image (HTTPS only, up to 10 MB, within a 15-second budget) and attaches it. If iOS ends the time early, the text notification is shown.
  • Notifications that aren't Oricato's pass through unchanged. That's how one extension can serve the OneSignal SDK and the Oricato SDK during a migration.
  • The one feature that needs an App Group is "increase badge", which needs a shared counter. "Set badge" works without one.
Image added by the extension Illustrative calculation. Computed from a formula with example inputs, not from real data.

Stridewell ahora

Nuevo reto semanal

Completa 3 entrenamientos esta semana.

An expanded Lingora notification in Spanish: Nuevo reto semanal, Completa 3 entrenamientos esta semana.

iOS SDK reference

Sources Apple Developer Documentation, "Modifying content in newly delivered notifications" (read Oct 16, 2026).

Oricato Dispatch

iOS push, explained monthly.

Extensions, permissions, delivery changes. One practical email a month.

Once a month. Until sign-up opens, one short email from you to us is all it takes; a person adds you. Privacy Policy

Request access