Notification Received in Kill Mode but No Method Invoked in iOS

Hello Apple Developer Team,

I am facing an issue with remote notifications in my iOS app. When the app is in a terminated (kill) state, notifications are successfully received by the device, but none of the app's handlers (like _firebaseMessagingBackgroundHandler in Flutter) are invoked. This is impacting our ability to process silent notifications or perform background tasks reliably when the app is not running.

Steps to reproduce:

Send a remote notification with content-available: 1 in the payload. Confirm the notification is received by the device while the app is in kill mode. Observe that no background or foreground notification methods are triggered in the app. Expected Behavior: The app should invoke the background handler to process the notification payload, even in a terminated state.

Observed Behavior: The notification is delivered to the device, but no app-level processing occurs because none of the methods are triggered.

Can you please confirm if this is the intended behavior due to iOS limitations, or if there is a configuration or alternative solution to allow background handlers to execute in such scenarios? Any guidance or clarification would be highly appreciated.

Thank you!

An app will not be woken up or relaunched in the background by a push notification if the app had previously been force-quit. Force quit is considered a drastic choice by the user to say that they do not want the app to run, often because it misbehaved in some unrecoverable manner.

If the purpose of using content-available notifications is to execute some code that is triggered remotely, I suggest looking into using a Notification Service Extension

The Notification Service Extension will be executed for every visible push notification. So, it could serve your needs, as long as the user has not disabled the visibility of your notifications through various settings. The service extension will not be executed for push notifications that will not be presented visually.


Argun Tekant /  DTS Engineer / Core Technologies

Notification Received in Kill Mode but No Method Invoked in iOS
 
 
Q